amh面板反代自身的问题
登录成功页面显示不正常<br /><img id="aimg_V3n3E" onclick="zoom(this, this.src, 0, 0, 0)" class="zoom" src="https://i.111666.best/image/PbxWelF6RFAl3SbZa2RRwV.png" onmouseover="img_onmouseoverfunc(this)" onload="thumbImg(this)" border="0" alt="" /><br />
<br />
反代设置如下:<br />
<img id="aimg_f1i7p" onclick="zoom(this, this.src, 0, 0, 0)" class="zoom" src="https://i.111666.best/image/0eRSoR8AlWhTxibNOkm9mL.png" onmouseover="img_onmouseoverfunc(this)" onload="thumbImg(this)" border="0" alt="" /><br />
<br />
反代成功,登录后显示不正常,edge、Chrome浏览器都显示不正常,是哪里设置错了吗<a href="https://hostloc.com/home.php?mod=space&uid=175" target="_blank">@</a> Amysql <br />
<br />
<a href="https://hostloc.com/home.php?mod=space&uid=19220" target="_blank">@Amysql</a> 你不能自己看一眼nginx的error.log吗 <div class="quote"><blockquote><font size="2"><a href="https://hostloc.com/forum.php?mod=redirect&goto=findpost&pid=16270638&ptid=1394537" target="_blank"><font color="#999999">ceplavia 发表于 2025-3-9 10:35</font></a></font><br />
你不能自己看一眼nginx的error.log吗</blockquote></div><br />
<br />
我菜鸡一个,我这就去看看 <div class="quote"><blockquote><font size="2"><a href="https://hostloc.com/forum.php?mod=redirect&goto=findpost&pid=16270638&ptid=1394537" target="_blank"><font color="#999999">ceplavia 发表于 2025-3-9 10:35</font></a></font><br />
你不能自己看一眼nginx的error.log吗</blockquote></div><br />
<img id="aimg_h1kqq" onclick="zoom(this, this.src, 0, 0, 0)" class="zoom" src="https://i.111666.best/image/BdKOEhRKIedFB5fg74e7XK.png" onmouseover="img_onmouseoverfunc(this)" onload="thumbImg(this)" border="0" alt="" /><br />
<br />
看了,但是没发现问题 删除缓存文件都行咯,过几天又会出现这个问题,最关键,核心问题,用这面板反代容易被插,劫持后狠难受,安全系数太低了,就用个反代其他配置各种设置好,自我认为设置好了,无懈可击, 其实,一切都是自我认为,奈何高手如云啊,别人就是能黑掉AMH面板环境, 这看是js或是css加载的问题,与其它的什么安全没关系的,在浏览器调试看网络加载情况,<br />
确认js\css网址正确否,是否都能正常访问。<br />
<br />
如果是缓存问题,可以直接在lngx主机列表关掉Cache项。 <div class="quote"><blockquote><font size="2"><a href="https://hostloc.com/forum.php?mod=redirect&goto=findpost&pid=16270762&ptid=1394537" target="_blank"><font color="#999999">mmshow 发表于 2025-3-9 12:18</font></a></font><br />
删除缓存文件都行咯,过几天又会出现这个问题,最关键,核心问题,用这面板反代容易被插,劫持后狠难受,安 ...</blockquote></div><br />
这么要紧吗,我就看上这个面板有各种流量监控(流量防护模块) <i class="pstatus"> 本帖最后由 yonghu007 于 2025-3-9 18:14 编辑 </i><br />
<div class="quote"><blockquote><font size="2"><a href="https://hostloc.com/forum.php?mod=redirect&goto=findpost&pid=16270872&ptid=1394537" target="_blank"><font color="#999999">Amysql 发表于 2025-3-9 13:34</font></a></font><br />
这看是js或是css加载的问题,与其它的什么安全没关系的,在浏览器调试看网络加载情况,<br />
确认js\css网址正确 ...</blockquote></div><br />
<br />
<img id="aimg_hF3NF" onclick="zoom(this, this.src, 0, 0, 0)" class="zoom" src="https://i.111666.best/image/3epiMJd4Kio4MUNjg1Y6X4.png" onmouseover="img_onmouseoverfunc(this)" onload="thumbImg(this)" border="0" alt="" /><br />
<br />
看不懂了,尝试过关闭了CSRF防范,关闭了cashe,清除缓冲,还是显示不正常 <div class="quote"><blockquote><font size="2"><a href="https://hostloc.com/forum.php?mod=redirect&goto=findpost&pid=16271195&ptid=1394537" target="_blank"><font color="#999999">yonghu007 发表于 2025-3-9 17:56</font></a></font><br />
看不懂了,尝试过关闭了CSRF防范,关闭了cashe,清除缓冲,还是显示不正常 ...</blockquote></div><br />
就是无法加载js与css的问题。<br />
你用的https访问,源站请求的是http,源站源码有http://链接的js、css会被浏览器限制。<br />
<br />
可以尝试lngx主机『内容』项中替换掉 http://xxx 为你相应的网址 https://xxx<br />
或试http访问。<br />
<br />
<br />
要用域名访问面板,也建议直接用域名加端口访问,<br />
在证书管理也可以设置面板自身关联某个网站的证书(能与网站证书同步,不需维护面板自身证书)<br />
可以https://域名:8888访问面板。反代https,如果用https反代http自身会有这个bug。
页:
[1]
2