nginx_site: Enable custom log format

This commit is contained in:
Timo Makinen 2025-01-23 05:54:23 +00:00
parent 7a6e4e596f
commit c3497c2440

View file

@ -18,7 +18,7 @@ server {
listen [::]:443 ssl http2;
server_name {{ nginx_site_name }};
access_log {{ nginx_logdir }}/{{ nginx_site_name }}.access.log combined;
access_log {{ nginx_logdir }}/{{ nginx_site_name }}.access.log custom;
error_log {{ nginx_logdir }}/{{ nginx_site_name }}.error.log warn;
add_header Strict-Transport-Security "max-age=63072000" always;