From c04359826433e467a5ea502c37d2f1e802050c5b Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Sat, 22 Feb 2020 07:16:31 +0100 Subject: Add repsys-test HTTP nginx config MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Johannes Löthberg --- nginx/repsys_kyriasis_com.sls | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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: -- cgit v1.2.3-70-g09d2