nginx/application: Fixed uploading and including snippets

wip
Felix Stupp 6 years ago
parent ec59a31dea
commit 7a84ae4fdc
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -27,9 +27,9 @@
- "{{ nginx_validation_directory }}"
- name: Upload snippets to nginx
copy:
template:
src: "{{ item }}.conf"
dest: "{{ nginx_snippets_directory }}/{{ item }}.conf"
dest: "{{ nginx_snippets_directory }}/{{ item }}"
owner: root
group: root
mode: "u=rw,g=r,o=r"

@ -1,3 +1,3 @@
include {{ nginx_snippets_directory }}/ssl.conf;
include {{ nginx_snippets_directory }}/ssl;
add_header Strict-Transport-Security 'max-age=15768000; includeSubDomains; preload;'; # default max age: 2592000 = 30 * 24 * 60 * 60s
add_header 'Referrer-Policy' 'same-origin';

Loading…
Cancel
Save