diff options
Diffstat (limited to 'theos/nginx/theos_kyriasis_com.sls')
-rw-r--r-- | theos/nginx/theos_kyriasis_com.sls | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/theos/nginx/theos_kyriasis_com.sls b/theos/nginx/theos_kyriasis_com.sls index cbcc756..890e8a6 100644 --- a/theos/nginx/theos_kyriasis_com.sls +++ b/theos/nginx/theos_kyriasis_com.sls @@ -9,8 +9,13 @@ nginx: - server_name: theos.kyriasis.com - listen: 80 - listen: '[::]:80' + + - location /.well-known/acme-challenge: + - root: /srv/http + - return: '301 https://$server_name$request_uri' + - server: - server_name: theos.kyriasis.com - listen: 443 ssl http2 |