summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--nginx/repsys_kyriasis_com.sls14
1 files changed, 14 insertions, 0 deletions
diff --git a/nginx/repsys_kyriasis_com.sls b/nginx/repsys_kyriasis_com.sls
index f886336..1536d70 100644
--- a/nginx/repsys_kyriasis_com.sls
+++ b/nginx/repsys_kyriasis_com.sls
@@ -45,4 +45,18 @@ nginx:
- include: uwsgi_params
- uwsgi_pass: localhost:3002
+
+ - server:
+ - server_name: repsys-test.kyriasis.com
+ - listen: 80
+ - listen: '[::]:80'
+
+ - include: snippets/security_headers.conf
+
+ - location /.well-known/acme-challenge:
+ - root: /srv/http
+
+ - location /:
+ - return: '301 https://$server_name$request_uri'
+
# vim: ft=yaml et: