summaryrefslogtreecommitdiffstats
path: root/theos/nginx/git_kyriasis_com.sls
diff options
context:
space:
mode:
Diffstat (limited to 'theos/nginx/git_kyriasis_com.sls')
-rw-r--r--theos/nginx/git_kyriasis_com.sls7
1 files changed, 6 insertions, 1 deletions
diff --git a/theos/nginx/git_kyriasis_com.sls b/theos/nginx/git_kyriasis_com.sls
index 64865fd..8c88d12 100644
--- a/theos/nginx/git_kyriasis_com.sls
+++ b/theos/nginx/git_kyriasis_com.sls
@@ -9,8 +9,13 @@ nginx:
- server_name: git.kyriasis.com
- listen: 80
- listen: '[::]:80'
+
+ - location /.well-known/acme-challenge:
+ - root: /srv/http/
+
- return: '301 https://$server_name$request_uri'
+
- server:
- server_name: git.kyriasis.com
- listen: 443 ssl http2
@@ -42,7 +47,7 @@ nginx:
- fastcgi_param: QUERY_STRING $args
- fastcgi_pass: unix:/run/fcgiwrap.sock
- - location /.well-known:
+ - location /.well-known/acme-challenge:
- root: /srv/http/
# vim: ft=yaml et: