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/gallery_remmy_io.sls | |
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/gallery_remmy_io.sls')
-rw-r--r-- | nginx/gallery_remmy_io.sls | 8 |
1 files changed, 4 insertions, 4 deletions
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' |