隐藏端口和访问路径只显示ip

前端代码 :注此方法适用默认访问html为此页面,端口改成80后访问浏览器目录就会只剩下ip+forLogin.html 再经过nginx实现指定后缀隐藏后就隐藏forLogin.html  只剩下iphtml

<html>
<head>
    <title>
        用户登陆
    </title>
    <meta http-equiv="content-type" content="textml; charset=utf-8">
</head>
<!-- 框架,主要是将标题栏锁定在起始页面的地址,其余请求不改变标题栏网址,打到隐藏效果 -->
<frameset id="mm" border="0" frameBorder="no" frameSpacing="0" rows="100%">
    <frame name="sdd" scrolling="no" src="index.html" noresize="noresize">
    </frame>
</frameset>

<script></script>
</html>

注:(未经测试)前端

相关文章
相关标签/搜索