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
Loading
...@@ -7,6 +7,7 @@ acmetool_cert_domains: ...@@ -7,6 +7,7 @@ acmetool_cert_domains:
- md.c3heaven.de - md.c3heaven.de
- sso.c3heaven.de - sso.c3heaven.de
- wiki.c3heaven.de - wiki.c3heaven.de
- www.c3heaven.de
nginx_https_sites: nginx_https_sites:
- name: "c3heaven.de" - name: "c3heaven.de"
...@@ -17,6 +18,14 @@ nginx_https_sites: ...@@ -17,6 +18,14 @@ nginx_https_sites:
config: "return 301 https://wiki.c3heaven.de$1?$args;" config: "return 301 https://wiki.c3heaven.de$1?$args;"
- location: "~ /kanboard(.*)$" - location: "~ /kanboard(.*)$"
config: "return 301 https://kanboard.c3heaven.de$1?$args;" 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" - name: "gabriel.c3heaven.de"
locations: locations:
- location: "/" - location: "/"
...@@ -129,7 +138,7 @@ nginx_http_locations: ...@@ -129,7 +138,7 @@ nginx_http_locations:
nginx_https_default_headers: nginx_https_default_headers:
- 'Strict-Transport-Security "max-age=31536000; includeSubDomains"' - 'Strict-Transport-Security "max-age=31536000; includeSubDomains"'
- 'X-XSS-Protection "1; mode=block"' - 'X-XSS-Protection "1; mode=block"'
- 'X-Frame-Options "DENY"' - 'X-Frame-Options "SAMEORIGIN"'
- 'X-Content-Type-Options "nosniff"' - 'X-Content-Type-Options "nosniff"'
- 'Referrer-Policy "same-origin"' - '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