nginx重定向导致端口消失无法正常访问
场景
访问路径带端口http://ip:端口/login,回车后端口消失http://ip/login无法正常访问
解决方法
nginx配置中中加一句:
新版本nginx(≥1.11.8)
absolute_redirect off;
旧版本nginx(<1.11.8)
port_in_redirect off;
时间:2024-07-15 07:18:07
访问路径带端口http://ip:端口/login,回车后端口消失http://ip/login无法正常访问
nginx配置中中加一句:
新版本nginx(≥1.11.8)
absolute_redirect off;
旧版本nginx(<1.11.8)
port_in_redirect off;
成功的关键(The Key to Success)1200字英语作文
2024-07-31
高一学生优秀作文集锦:五篇1200字以上的写人范文 最新精选
2024-07-31