回答
收藏
分享
举报
Nginx 反向代理如何不返回后端内部IP?
提问于2020-12-21 16:17

浏览 1.2k

测试命令:

telnet xx.xx.xx.xx 8747

GET / HTTP/1.0

响应:

HTTP/1.1 302 Moved Temporarily
Date: Mon, 21 Dec 2020 07:06:19 GMT
Content-Type: text/html
Content-Length: 126
Connection: close
Location: https://192.168.234.111:8747/ 
Server: Server

<html>
<head><title>302 Found</title></head>
<body bgcolor="white">
<center><h1>302 Found</h1></center>
</body>
</html>

其中响应中Location返回了内部IP,违反安全规则,如何隐藏或是屏蔽呢??

已修改于2023-03-16 08:44



写下您的回答
发表回答
全部回答(0)

按点赞数排序

按时间排序

提问者
浅行
这家伙很懒还未留下介绍~
0
文章
2
问答
0
粉丝
相关问答