nginx_site: Enable custom log format
This commit is contained in:
parent
7a6e4e596f
commit
c3497c2440
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue