From 23922b62b8a0a5ec658ab6c5ad7544614558b4be Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Sat, 3 Nov 2018 15:01:28 +0100 Subject: nginx: Put https redirect in location / MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Johannes Löthberg --- nginx/git_kyriasis_com.sls | 3 ++- nginx/matrix_kyriasis_com.sls | 3 ++- nginx/miniflux_kyriasis_com.sls | 3 ++- nginx/remmy_io.sls | 3 ++- nginx/riot_kyriasis_com.sls | 3 ++- nginx/theos_kyriasis_com.sls | 3 ++- nginx/xan_kyriasis_com.sls | 3 ++- 7 files changed, 14 insertions(+), 7 deletions(-) (limited to 'nginx') diff --git a/nginx/git_kyriasis_com.sls b/nginx/git_kyriasis_com.sls index 78181a5..74e0442 100644 --- a/nginx/git_kyriasis_com.sls +++ b/nginx/git_kyriasis_com.sls @@ -13,7 +13,8 @@ nginx: - location /.well-known/acme-challenge: - root: /srv/http/ - - return: '301 https://$server_name$request_uri' + - location /: + - return: '301 https://$server_name$request_uri' - server: diff --git a/nginx/matrix_kyriasis_com.sls b/nginx/matrix_kyriasis_com.sls index 864251f..aa42fac 100644 --- a/nginx/matrix_kyriasis_com.sls +++ b/nginx/matrix_kyriasis_com.sls @@ -17,7 +17,8 @@ nginx: - location /.well-known/acme-challenge: - root: /srv/http/ - - return: '301 https://$server_name$request_uri' + - location /: + - return: '301 https://$server_name$request_uri' - server: diff --git a/nginx/miniflux_kyriasis_com.sls b/nginx/miniflux_kyriasis_com.sls index 6434e8c..290c59f 100644 --- a/nginx/miniflux_kyriasis_com.sls +++ b/nginx/miniflux_kyriasis_com.sls @@ -13,7 +13,8 @@ nginx: - location /.well-known/acme-challenge: - root: /srv/http/ - - return: '301 https://$server_name$request_uri' + - location /: + - return: '301 https://$server_name$request_uri' - server: diff --git a/nginx/remmy_io.sls b/nginx/remmy_io.sls index 3767109..d240e98 100644 --- a/nginx/remmy_io.sls +++ b/nginx/remmy_io.sls @@ -13,7 +13,8 @@ nginx: - location /.well-known/acme-challenge: - root: /srv/http - - return: '301 https://$server_name$request_uri' + - location /: + - return: '301 https://$server_name$request_uri' - server: diff --git a/nginx/riot_kyriasis_com.sls b/nginx/riot_kyriasis_com.sls index 7f2b0c0..be37292 100644 --- a/nginx/riot_kyriasis_com.sls +++ b/nginx/riot_kyriasis_com.sls @@ -13,7 +13,8 @@ nginx: - location /.well-known/acme-challenge: - root: /srv/http/ - - return: '301 https://$server_name$request_uri' + - location /: + - return: '301 https://$server_name$request_uri' - server: diff --git a/nginx/theos_kyriasis_com.sls b/nginx/theos_kyriasis_com.sls index aad03ec..48c505f 100644 --- a/nginx/theos_kyriasis_com.sls +++ b/nginx/theos_kyriasis_com.sls @@ -13,7 +13,8 @@ nginx: - location /.well-known/acme-challenge: - root: /srv/http - - return: '301 https://$server_name$request_uri' + - location /: + - return: '301 https://$server_name$request_uri' - server: diff --git a/nginx/xan_kyriasis_com.sls b/nginx/xan_kyriasis_com.sls index 52a7cca..c965c76 100644 --- a/nginx/xan_kyriasis_com.sls +++ b/nginx/xan_kyriasis_com.sls @@ -13,7 +13,8 @@ nginx: - location /.well-known/acme-challenge: - root: /srv/http/ - - return: '301 https://$server_name$request_uri' + - location /: + - return: '301 https://$server_name$request_uri' - server: -- cgit v1.2.3-70-g09d2