1
0
Fork 0
mirror of https://github.com/DO1JLR/ansible_playbook_servers.git synced 2024-09-14 19:53:56 +02:00
ansible_playbook_servers/templates/files/nginx/sites/klima-streik.de_tls.conf
2022-06-22 03:12:55 +02:00

19 lines
532 B
Text

server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name klima-streik.de;
include snippets/tls_parameters_{{ site.name }}.snippet.conf;
include snippets/tls_certificate_{{ site.name }}.snippet.conf;
include snippets/logging_{{ site.name }}.snippet.conf;
root /srv/www/klima-streik.de;
location / {
add_header X-Served-By "teapot CYBER 4.0 (with blockchain)";
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains";
charset utf-8;
try_files $uri $uri/ =404;
}
}