This commit is contained in:
parent
645c001b55
commit
7ab0e0692c
@ -8,6 +8,7 @@ nginx:
|
|||||||
dir: /etc/nginx
|
dir: /etc/nginx
|
||||||
geoip: false
|
geoip: false
|
||||||
webdav: false
|
webdav: false
|
||||||
|
syslog: false
|
||||||
lua: false
|
lua: false
|
||||||
user: www-data
|
user: www-data
|
||||||
group: www-data
|
group: www-data
|
||||||
|
@ -57,7 +57,9 @@ http {
|
|||||||
'"$http_referer" "$http_user_agent"';
|
'"$http_referer" "$http_user_agent"';
|
||||||
|
|
||||||
access_log /var/log/nginx/$host.access.log main;
|
access_log /var/log/nginx/$host.access.log main;
|
||||||
|
{%- if nginx.config.syslog %}
|
||||||
access_log syslog:server=localhost:514 main;
|
access_log syslog:server=localhost:514 main;
|
||||||
|
{%- endif %}
|
||||||
|
|
||||||
default_type application/octet-stream;
|
default_type application/octet-stream;
|
||||||
tcp_nodelay on;
|
tcp_nodelay on;
|
||||||
|
Loading…
Reference in New Issue
Block a user