Update default.conf
This commit is contained in:
parent
bf64eee03d
commit
341c9b70bd
@ -1,7 +1,12 @@
|
|||||||
|
http {
|
||||||
|
log_format custom '$remote_addr - $remote_user [$time_local] '
|
||||||
|
'"$request" $status $body_bytes_sent '
|
||||||
|
'"$http_referer" "$http_user_agent" '
|
||||||
|
'$upstream_response_time';
|
||||||
|
}
|
||||||
server {
|
server {
|
||||||
root /usr/share/nginx/html;
|
root /usr/share/nginx/html;
|
||||||
access_log syslog:server=10.8.0.7:514,tag=nginx_access;
|
access_log syslog:server=10.8.0.7:514,tag=nginx_access custom;
|
||||||
error_log syslog:server=10.8.0.7:514,tag=nginx_error info;
|
|
||||||
index index.html index.htm index.nginx-debian.html;
|
index index.html index.htm index.nginx-debian.html;
|
||||||
server_name _; # managed by Certbot
|
server_name _; # managed by Certbot
|
||||||
client_max_body_size 100M;# kill cache
|
client_max_body_size 100M;# kill cache
|
||||||
|
Loading…
Reference in New Issue
Block a user