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;
|
index index.php index.html;
|
||||||
server_name _;
|
server_name _;
|
||||||
error_log /var/log/nginx/error.log;
|
error_log /var/log/nginx/error.log;
|
||||||
access_log /var/log/nginx/access.log;
|
access_log /var/log/nginx/access.log main;
|
||||||
root /dynmaps;
|
root /dynmaps;
|
||||||
|
|
||||||
location ~ \.php$ {
|
location ~ \.php$ {
|
||||||
|
|
|
@ -43,7 +43,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
error_log /var/log/nginx/error.log;
|
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;
|
fastcgi_hide_header X-Powered-By;
|
||||||
absolute_redirect off;
|
absolute_redirect off;
|
||||||
root /web;
|
root /web;
|
||||||
|
|
|
@ -3,7 +3,7 @@ server {
|
||||||
index index.php index.html;
|
index index.php index.html;
|
||||||
server_name _;
|
server_name _;
|
||||||
error_log /var/log/nginx/error.log;
|
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;
|
root /meta_exporter;
|
||||||
client_max_body_size 10M;
|
client_max_body_size 10M;
|
||||||
location ~ \.php$ {
|
location ~ \.php$ {
|
||||||
|
|
Loading…
Reference in New Issue