summaryrefslogtreecommitdiffstats
path: root/nginx
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2023-11-06 21:24:26 +0000
committerJohannes Löthberg <johannes@kyriasis.com>2023-11-06 21:25:40 +0000
commit53d8f4005ad184ce09dd38aaa0ea0d2921a7c3d1 (patch)
tree3ffac1885d07fa0f04cd801ec87fef04a81f9727 /nginx
parentd5272041eea8913ff9e08e1b057861d59195e02f (diff)
downloadpillar-53d8f4005ad184ce09dd38aaa0ea0d2921a7c3d1.tar.xz
Delete forgotten riot file
Diffstat (limited to 'nginx')
-rw-r--r--nginx/riot_kyriasis_com.sls57
1 files changed, 0 insertions, 57 deletions
diff --git a/nginx/riot_kyriasis_com.sls b/nginx/riot_kyriasis_com.sls
deleted file mode 100644
index 70f45c5..0000000
--- a/nginx/riot_kyriasis_com.sls
+++ /dev/null
@@ -1,57 +0,0 @@
-nginx:
- servers:
- managed:
- riot.kyriasis.com:
- enabled: True
- config:
- - server:
- - server_name: riot.kyriasis.com
- - listen: 80
- - listen: '[::]:80'
-
- - location /.well-known/acme-challenge:
- - root: /srv/http/
-
- - location /:
- - return: '301 https://$server_name$request_uri'
-
-
- - server:
- - server_name: riot.kyriasis.com
- - listen: 443 ssl http2
- - listen: '[::]:443 ssl http2'
-
- - ssl_certificate: /etc/letsencrypt/live/riot.kyriasis.com/fullchain.pem
- - ssl_certificate_key: /etc/letsencrypt/live/riot.kyriasis.com/privkey.pem
- - ssl_dhparam: /etc/nginx/dhparam.pem
-
- - ssl_stapling: 'on'
- - ssl_stapling_verify: 'on'
- - ssl_trusted_certificate: /etc/letsencrypt/live/riot.kyriasis.com/fullchain.pem
-
- # https://developer.mozilla.org/en-US/docs/Security/HTTP_Strict_Transport_Security
- - add_header: 'Strict-Transport-Security "max-age=31536000"'
-
- # Tell browsers not to render the page inside a frame, and avoid clickjacking.
- - add_header: X-Frame-Options SAMEORIGIN
-
- # Tell browsers to not try to auto-detect the Content-Type.
- - add_header: X-Content-Type-Options nosniff
-
- # Enable the Cross-site scripting filter in most recent browsers.
- # Normally enabled by default, but enable it anyway if user has disabled it.
- - add_header: 'X-XSS-Protection "1; mode=block"'
-
- # http://www.gnuterrypratchett.com/
- - add_header: 'X-Clacks-Overhead "GNU Terry Pratchett"'
-
- - client_max_body_size: 128m
-
- - error_log: /var/log/nginx/riot.error.log
-
- - root: /usr/share/webapps/element
-
- - location /.well-known/acme-challenge:
- - root: /srv/http/
-
-# vim: ft=yaml et: