Add host-specific access log
This commit is contained in:
parent
45b816dba4
commit
86934e3326
1 changed files with 2 additions and 0 deletions
|
@ -7,6 +7,8 @@ server {
|
||||||
server_name {{ server_name }};
|
server_name {{ server_name }};
|
||||||
set $upstream {{ upstream }};
|
set $upstream {{ upstream }};
|
||||||
|
|
||||||
|
access_log /var/log/nginx/{{ server_name|split|first }}.log main;
|
||||||
|
|
||||||
ssl_certificate {{ ssl_cert_path }}/fullchain.pem;
|
ssl_certificate {{ ssl_cert_path }}/fullchain.pem;
|
||||||
ssl_certificate_key {{ ssl_cert_path }}/privkey.pem;
|
ssl_certificate_key {{ ssl_cert_path }}/privkey.pem;
|
||||||
ssl_trusted_certificate {{ ssl_cert_path }}/chain.pem;
|
ssl_trusted_certificate {{ ssl_cert_path }}/chain.pem;
|
||||||
|
|
Loading…
Reference in a new issue