The original post: /r/nginx by /u/teammatekiller on 2024-10-10 14:46:47.

first of all, sorry for making you do my homework

I have two NGINX hosts, one is set up as proxy_pass http://my second super secret ip:3333;

other one is set up as proxy_pass http://some real scary government domain:3333;

and there is a host sending data over to my first server

which leads to access_log entries like

source server out of my control IP - - [date] “hexadecimal string” 400 157 “-” “-” “-”

but the second server iptables rules doesn’t show any increase in traffic

except if I query with curl to the first server and port - I do get the 502 response from the second server (if I modify the config to reply me something else, like 200 - I do get it)

I don’t request you to solve this

but please point me into some troubleshooting direction