From 7a628d0adcaa6e5db00ddcbe7972b165ade2790e Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Fri, 7 Jun 2024 14:28:57 +0200 Subject: Use nginx dot-prefix wildcard server names MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Johannes Löthberg --- nginx/gallery_remmy_foo.sls | 8 ++++---- nginx/gallery_remmy_io.sls | 8 ++++---- nginx/kyriasis_com.sls | 4 ++-- nginx/pie_in_the_sky_kitchen.sls | 4 ++-- nginx/remmy_foo.sls | 4 ++-- 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' -- cgit v1.2.3-70-g09d2