diff --git a/roles/nginx/site/templates/site.conf.j2 b/roles/nginx/site/templates/site.conf.j2 index efe811e..daa1bdc 100644 --- a/roles/nginx/site/templates/site.conf.j2 +++ b/roles/nginx/site/templates/site.conf.j2 @@ -14,6 +14,9 @@ server { listen [::]:443 ssl http2; server_name {{ site }}; + access_log {{ nginx_logdir }}/{{ site }}.access.log combined; + error_log {{ nginx_logdir }}/{{ site }}.error.log; + add_header Strict-Transport-Security "max-age=63072000" always; {% if ssl_config is defined %}