File tree Expand file tree Collapse file tree 3 files changed +11
-3
lines changed
google-secure-signals/react-client-side
javascript-sdk/react-client-side Expand file tree Collapse file tree 3 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,17 @@ http {
1616 '$status $body_bytes_sent "$http_referer" '
1717 '"$http_user_agent" "$http_x_forwarded_for"' ;
1818
19- access_log /var/log/nginx/access.log main;
19+ # Debug log format - shows Host header details for troubleshooting routing issues
20+ log_format debug_routing '$remote_addr [$time_local] "$request" '
21+ 'status=$status '
22+ 'host="$host" '
23+ 'http_host="$http_host" '
24+ 'server_name="$server_name" '
25+ 'scheme=$scheme '
26+ 'x_forwarded_host="$http_x_forwarded_host" '
27+ 'x_forwarded_proto="$http_x_forwarded_proto"' ;
28+
29+ access_log /var/log/nginx/access.log debug_routing;
2030
2131 sendfile on;
2232 #tcp_nopush on;
Original file line number Diff line number Diff line change @@ -17,7 +17,6 @@ const port = process.env.PORT || 3044;
1717
1818// Healthcheck endpoint for Kubernetes probes - must be before all other routes and middleware
1919app . get ( '/ops/healthcheck' , ( req , res ) => {
20- console . log ( 'Healthcheck endpoint hit' ) ;
2120 res . type ( 'text/plain' ) ;
2221 res . status ( 200 ) . send ( 'healthy\n' ) ;
2322 return ; // Explicit return to prevent further processing
Original file line number Diff line number Diff line change @@ -17,7 +17,6 @@ const port = process.env.PORT || 3034;
1717
1818// Healthcheck endpoint for Kubernetes probes - must be before all other routes and middleware
1919app . get ( '/ops/healthcheck' , ( req , res ) => {
20- console . log ( 'Healthcheck endpoint hit' ) ;
2120 res . type ( 'text/plain' ) ;
2221 res . status ( 200 ) . send ( 'healthy\n' ) ;
2322 return ; // Explicit return to prevent further processing
You can’t perform that action at this time.
0 commit comments