summaryrefslogtreecommitdiffstats
path: root/nginx
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2018-11-03 15:01:28 +0100
committerJohannes Löthberg <johannes@kyriasis.com>2018-11-03 15:01:28 +0100
commit23922b62b8a0a5ec658ab6c5ad7544614558b4be (patch)
tree007fa043955b62a88e5897af6b53710e9e292f6c /nginx
parent24549036c0c262bb2d17ad36d20e882f35956020 (diff)
downloadpillar-23922b62b8a0a5ec658ab6c5ad7544614558b4be.tar.xz
nginx: Put https redirect in location /
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
Diffstat (limited to 'nginx')
-rw-r--r--nginx/git_kyriasis_com.sls3
-rw-r--r--nginx/matrix_kyriasis_com.sls3
-rw-r--r--nginx/miniflux_kyriasis_com.sls3
-rw-r--r--nginx/remmy_io.sls3
-rw-r--r--nginx/riot_kyriasis_com.sls3
-rw-r--r--nginx/theos_kyriasis_com.sls3
-rw-r--r--nginx/xan_kyriasis_com.sls3
7 files changed, 14 insertions, 7 deletions
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: