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...

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bdbdb9-312bd.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bdbdb9-312bd.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?