diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2020-02-22 07:16:31 +0100 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2020-02-22 07:16:31 +0100 |
commit | c04359826433e467a5ea502c37d2f1e802050c5b (patch) | |
tree | 5bfd8f9e92c97e6e9593b6d8285487233b6991b4 /nginx | |
parent | f9a1d8ea527bea1ba7702aff0ae4d375cbb914d3 (diff) | |
download | pillar-c04359826433e467a5ea502c37d2f1e802050c5b.tar.xz |
Add repsys-test HTTP nginx config
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
Diffstat (limited to 'nginx')
-rw-r--r-- | nginx/repsys_kyriasis_com.sls | 14 |
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: |