Skip to content

Commit

Permalink
move log config to http block
Browse files Browse the repository at this point in the history
  • Loading branch information
jonbarrow committed Feb 25, 2024
1 parent 8153519 commit 731d863
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions docker/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ http {
sendfile on;
keepalive_timeout 65;

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

server {
listen 80;

server_name conntest.nintendowifi.net;

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

location / {
proxy_pass http://127.0.0.1;
proxy_http_version 1.1;
Expand All @@ -35,9 +35,6 @@ http {

server_name account.nintendo.net;

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

location / {
proxy_pass http://127.0.0.1;
proxy_http_version 1.1;
Expand Down

0 comments on commit 731d863

Please sign in to comment.