diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2024-06-07 14:28:57 +0200 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2024-06-07 14:28:57 +0200 |
commit | 7a628d0adcaa6e5db00ddcbe7972b165ade2790e (patch) | |
tree | 9d358f402cdf09f592ce68284de257a42457e2aa /nginx | |
parent | aafcdd7fc8d8e732af6b9ad8b32ac2a4e82aa692 (diff) | |
download | pillar-7a628d0adcaa6e5db00ddcbe7972b165ade2790e.tar.xz |
Use nginx dot-prefix wildcard server names
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
Diffstat (limited to 'nginx')
-rw-r--r-- | nginx/gallery_remmy_foo.sls | 8 | ||||
-rw-r--r-- | nginx/gallery_remmy_io.sls | 8 | ||||
-rw-r--r-- | nginx/kyriasis_com.sls | 4 | ||||
-rw-r--r-- | nginx/pie_in_the_sky_kitchen.sls | 4 | ||||
-rw-r--r-- | nginx/remmy_foo.sls | 4 | ||||
-rw-r--r-- | nginx/remmy_io.sls | 4 |
6 files changed, 16 insertions, 16 deletions
diff --git a/nginx/gallery_remmy_foo.sls b/nginx/gallery_remmy_foo.sls index fc988ab..2cb9569 100644 --- a/nginx/gallery_remmy_foo.sls +++ b/nginx/gallery_remmy_foo.sls @@ -5,7 +5,7 @@ nginx: enabled: True config: - server: - - server_name: gallery.remmy.foo + - server_name: .gallery.remmy.foo - listen: 80 - listen: '[::]:80' @@ -17,7 +17,7 @@ nginx: - server: - - server_name: gallery.remmy.foo + - server_name: .gallery.remmy.foo - listen: 443 ssl http2 - listen: '[::]:443 ssl http2' @@ -67,7 +67,7 @@ nginx: enabled: True config: - server: - - server_name: gallery-static.remmy.foo + - server_name: .gallery-static.remmy.foo - listen: 80 - listen: '[::]:80' @@ -79,7 +79,7 @@ nginx: - server: - - server_name: gallery-static.remmy.foo + - server_name: .gallery-static.remmy.foo - listen: 443 ssl http2 - listen: '[::]:443 ssl http2' diff --git a/nginx/gallery_remmy_io.sls b/nginx/gallery_remmy_io.sls index a723729..76b0fb1 100644 --- a/nginx/gallery_remmy_io.sls +++ b/nginx/gallery_remmy_io.sls @@ -5,7 +5,7 @@ nginx: enabled: True config: - server: - - server_name: gallery.remmy.io + - server_name: .gallery.remmy.io - listen: 80 - listen: '[::]:80' @@ -16,7 +16,7 @@ nginx: - return: '301 https://gallery.remmy.foo$request_uri' - server: - - server_name: gallery.remmy.io + - server_name: .gallery.remmy.io - listen: 443 ssl http2 - listen: '[::]:443 ssl http2' @@ -60,7 +60,7 @@ nginx: enabled: True config: - server: - - server_name: gallery-static.remmy.io + - server_name: .gallery-static.remmy.io - listen: 80 - listen: '[::]:80' @@ -72,7 +72,7 @@ nginx: - server: - - server_name: gallery-static.remmy.io + - server_name: .gallery-static.remmy.io - listen: 443 ssl http2 - listen: '[::]:443 ssl http2' diff --git a/nginx/kyriasis_com.sls b/nginx/kyriasis_com.sls index 51a7658..60546e1 100644 --- a/nginx/kyriasis_com.sls +++ b/nginx/kyriasis_com.sls @@ -5,7 +5,7 @@ nginx: enabled: True config: - server: - - server_name: kyriasis.com + - server_name: .kyriasis.com - listen: 80 - listen: '[::]:80' @@ -17,7 +17,7 @@ nginx: - server: - - server_name: kyriasis.com + - server_name: .kyriasis.com - listen: 443 ssl http2 - listen: '[::]:443 ssl http2' diff --git a/nginx/pie_in_the_sky_kitchen.sls b/nginx/pie_in_the_sky_kitchen.sls index a7604d6..a5fbd1e 100644 --- a/nginx/pie_in_the_sky_kitchen.sls +++ b/nginx/pie_in_the_sky_kitchen.sls @@ -5,7 +5,7 @@ nginx: enabled: True config: - server: - - server_name: pie-in-the-sky.kitchen + - server_name: .pie-in-the-sky.kitchen - listen: 80 - listen: '[::]:80' @@ -17,7 +17,7 @@ nginx: - server: - - server_name: pie-in-the-sky.kitchen + - server_name: .pie-in-the-sky.kitchen - listen: 443 ssl http2 - listen: '[::]:443 ssl http2' diff --git a/nginx/remmy_foo.sls b/nginx/remmy_foo.sls index e3b4b03..4623002 100644 --- a/nginx/remmy_foo.sls +++ b/nginx/remmy_foo.sls @@ -5,7 +5,7 @@ nginx: enabled: True config: - server: - - server_name: remmy.foo + - server_name: .remmy.foo - listen: 80 - listen: '[::]:80' @@ -17,7 +17,7 @@ nginx: - server: - - server_name: remmy.foo + - server_name: .remmy.foo - listen: 443 ssl http2 - listen: '[::]:443 ssl http2' diff --git a/nginx/remmy_io.sls b/nginx/remmy_io.sls index 0431775..7a2b57a 100644 --- a/nginx/remmy_io.sls +++ b/nginx/remmy_io.sls @@ -5,7 +5,7 @@ nginx: enabled: True config: - server: - - server_name: remmy.io + - server_name: .remmy.io - listen: 80 - listen: '[::]:80' @@ -17,7 +17,7 @@ nginx: - server: - - server_name: remmy.io + - server_name: .remmy.io - listen: 443 ssl http2 - listen: '[::]:443 ssl http2' |