Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions tools/reverse-proxy/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,10 @@ http {
include /etc/nginx/mime.types;
default_type application/octet-stream;

log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';
log_format path_status '$remote_addr - $remote_user [$time_local] $request $status';

# Debug log format - shows Host header details for troubleshooting routing issues
# To use, switch access_log below to use debug_routing instead of path_status
log_format debug_routing '$remote_addr [$time_local] "$request" '
'status=$status '
'host="$host" '
Expand All @@ -26,7 +25,7 @@ http {
'x_forwarded_host="$http_x_forwarded_host" '
'x_forwarded_proto="$http_x_forwarded_proto"';

access_log /var/log/nginx/access.log debug_routing;
access_log /var/log/nginx/access.log path_status;

sendfile on;
#tcp_nopush on;
Expand Down