added the access log format in config files.
This commit is contained in:
parent
229303c1f8
commit
1f2cfddb48
|
@ -4,7 +4,7 @@ server {
|
|||
index index.php index.html;
|
||||
server_name _;
|
||||
error_log /var/log/nginx/error.log;
|
||||
access_log /var/log/nginx/access.log;
|
||||
access_log /var/log/nginx/access.log main;
|
||||
root /dynmaps;
|
||||
|
||||
location ~ \.php$ {
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
}
|
||||
|
||||
error_log /var/log/nginx/error.log;
|
||||
access_log /var/log/nginx/access.log;
|
||||
access_log /var/log/nginx/access.log main;
|
||||
fastcgi_hide_header X-Powered-By;
|
||||
absolute_redirect off;
|
||||
root /web;
|
||||
|
|
|
@ -3,7 +3,7 @@ server {
|
|||
index index.php index.html;
|
||||
server_name _;
|
||||
error_log /var/log/nginx/error.log;
|
||||
access_log /var/log/nginx/access.log;
|
||||
access_log /var/log/nginx/access.log main;
|
||||
root /meta_exporter;
|
||||
client_max_body_size 10M;
|
||||
location ~ \.php$ {
|
||||
|
|
Loading…
Reference in New Issue