Skip to content
Snippets Groups Projects
Commit 7d2dcc04 authored by MichiK's avatar MichiK
Browse files

Add www.

parent d1c165aa
No related branches found
No related tags found
No related merge requests found
......@@ -7,6 +7,7 @@ acmetool_cert_domains:
- md.c3heaven.de
- sso.c3heaven.de
- wiki.c3heaven.de
- www.c3heaven.de
nginx_https_sites:
- name: "c3heaven.de"
......@@ -17,6 +18,14 @@ nginx_https_sites:
config: "return 301 https://wiki.c3heaven.de$1?$args;"
- location: "~ /kanboard(.*)$"
config: "return 301 https://kanboard.c3heaven.de$1?$args;"
- name: "www.c3heaven.de"
locations:
- location: "/"
config: "root /var/www/html;"
- location: "~ /wiki(.*)$"
config: "return 301 https://wiki.c3heaven.de$1?$args;"
- location: "~ /kanboard(.*)$"
config: "return 301 https://kanboard.c3heaven.de$1?$args;"
- name: "gabriel.c3heaven.de"
locations:
- location: "/"
......@@ -129,7 +138,7 @@ nginx_http_locations:
nginx_https_default_headers:
- 'Strict-Transport-Security "max-age=31536000; includeSubDomains"'
- 'X-XSS-Protection "1; mode=block"'
- 'X-Frame-Options "DENY"'
- 'X-Frame-Options "SAMEORIGIN"'
- 'X-Content-Type-Options "nosniff"'
- 'Referrer-Policy "same-origin"'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment