summaryrefslogtreecommitdiffstats
path: root/nginx/kyriasis_com.sls
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2024-06-07 14:28:57 +0200
committerJohannes Löthberg <johannes@kyriasis.com>2024-06-07 14:28:57 +0200
commit7a628d0adcaa6e5db00ddcbe7972b165ade2790e (patch)
tree9d358f402cdf09f592ce68284de257a42457e2aa /nginx/kyriasis_com.sls
parentaafcdd7fc8d8e732af6b9ad8b32ac2a4e82aa692 (diff)
downloadpillar-7a628d0adcaa6e5db00ddcbe7972b165ade2790e.tar.xz
Use nginx dot-prefix wildcard server names
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
Diffstat (limited to 'nginx/kyriasis_com.sls')
-rw-r--r--nginx/kyriasis_com.sls4
1 files changed, 2 insertions, 2 deletions
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'