moved nginx logs to /data/logs

This commit is contained in:
2025-07-30 11:39:28 +02:00
parent 21153f7909
commit 0daadbf0f1
7 changed files with 8 additions and 12 deletions

View File

@@ -7,8 +7,6 @@ server {
root /data/www;
# server_name localhost;
#access_log /var/log/nginx/host.access.log main;
location / {
index index.html index.htm;

View File

@@ -7,8 +7,6 @@ server {
root /data/www;
# server_name localhost;
#access_log /var/log/nginx/host.access.log main;
location / {
index index.php index.html index.htm;

View File

@@ -9,7 +9,7 @@ worker_processes auto;
pcre_jit on;
# Configures default error logger.
error_log /var/log/nginx/error.log warn;
error_log /data/logs/nginx-error.log warn;
# Includes files with directives to load dynamic modules.
include /etc/nginx/modules/*.conf;
@@ -96,7 +96,7 @@ http {
'"$http_user_agent" "$http_x_forwarded_for"';
# Sets the path, format, and configuration for a buffered log write.
access_log /var/log/nginx/access.log main;
access_log /data/logs/nginx-access.log main;
# Includes virtual hosts configs.