Skip to content

Commit

Permalink
Move error_log definition to root scope.
Browse files Browse the repository at this point in the history
  • Loading branch information
ajhodgson committed Sep 3, 2024
1 parent 8c12e01 commit d5ebc9d
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions image/config/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ worker_processes auto;
pid /run/nginx.pid;
daemon off;

##
# Error logs
##

error_log /var/log/nginx/error.log;

include /etc/nginx/main.d/*.conf;
include /etc/nginx/modules-enabled/*.conf;

Expand Down Expand Up @@ -38,11 +44,10 @@ http {
ssl_prefer_server_ciphers on;

##
# Logging Settings
# Access logs
##

access_log /var/log/nginx/access.log;
error_log /var/log/nginx/error.log;

##
# Gzip Settings
Expand Down

0 comments on commit d5ebc9d

Please sign in to comment.