fix log path in php7.4
All checks were successful
All checks were successful
This commit is contained in:
@@ -9,7 +9,7 @@ worker_processes auto;
|
|||||||
pcre_jit on;
|
pcre_jit on;
|
||||||
|
|
||||||
# Configures default error logger.
|
# Configures default error logger.
|
||||||
error_log /data/logs/nginx-error.log warn;
|
error_log /var/log/nginx/error.log warn;
|
||||||
|
|
||||||
# Includes files with directives to load dynamic modules.
|
# Includes files with directives to load dynamic modules.
|
||||||
include /etc/nginx/modules/*.conf;
|
include /etc/nginx/modules/*.conf;
|
||||||
@@ -96,7 +96,7 @@ http {
|
|||||||
'"$http_user_agent" "$http_x_forwarded_for"';
|
'"$http_user_agent" "$http_x_forwarded_for"';
|
||||||
|
|
||||||
# Sets the path, format, and configuration for a buffered log write.
|
# Sets the path, format, and configuration for a buffered log write.
|
||||||
access_log /data/logs/nginx-access.log main;
|
access_log /var/log/nginx/access.log main;
|
||||||
|
|
||||||
|
|
||||||
# Includes virtual hosts configs.
|
# Includes virtual hosts configs.
|
||||||
|
|||||||
Reference in New Issue
Block a user