added the access log format in config files.

This commit is contained in:
Toaster2-0 2023-04-02 00:56:30 +02:00
parent 229303c1f8
commit 1f2cfddb48
3 changed files with 3 additions and 3 deletions

View File

@ -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$ {

View File

@ -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;

View File

@ -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$ {