The port is also displayed after the nginx reverse proxy, how to solve it?

nginx is a mirror image on docker. The blog.conf configuration under conf.d is as follows

clipboard.png
8080

clipboard.png


you need to add a

proxy_set_header X-Forwarded-Host $host;

can you access port 80 directly? I suspect you are 80 and 8080 exposed.

for using docker + nginx, I have an image of Amway:
https://blog.ihypo.net/148480...

Menu