问题描述:我通过在出口防火墙配置端口映射2023到我的Linux宿主机的30443端口实现反向代理,当用户访问https://txt.yydy.link:2023时,会被自动重定向至,https://txt.yydy.link,会把2023端口自动还原成了443端口,导致无法访问。 一、拓扑架构: <img width="710" height="617" alt="Image" src="https://github.com/user-attachments/assets/3e23da57-7662-4c63-897e-659a6b795d7a" /> 二、详细配置截图 2.1、nginx proxy manager的data目录内容 <img width="496" height="354" alt="Image" src="https://github.com/user-attachments/assets/3bf9887e-5c0c-406b-9827-10118bcfff59" /> 2.2、nginx proxy manager的配置截图 <img width="500" height="549" alt="Image" src="https://github.com/user-attachments/assets/dc5ef748-9682-4f83-9935-8acdc191b1be" /> <img width="500" height="269" alt="Image" src="https://github.com/user-attachments/assets/37518c00-6b78-452c-953a-e6b030e43d35" /> <img width="500" height="387" alt="Image" src="https://github.com/user-attachments/assets/70f78fb7-ba6a-4506-a0ba-1ae5c734b326" /> <img width="500" height="606" alt="Image" src="https://github.com/user-attachments/assets/8c94c389-8140-434e-91e4-5c4da3e91cf5" /> 三、访问故障截图 <img width="1763" height="834" alt="Image" src="https://github.com/user-attachments/assets/37eb5dd1-c71c-41e5-8ee3-451c9dd9eb3b" /> <img width="1801" height="861" alt="Image" src="https://github.com/user-attachments/assets/739de924-2868-49e2-96ce-af60ba62b3f2" /> <img width="843" height="176" alt="Image" src="https://github.com/user-attachments/assets/532ec262-c331-48af-8180-3f298c882485" />