Jump to content

请问设置HTTPS证书后,不能用IP地址在本地访问了,怎么修改呢?


Recommended Posts

设置了HTTPS证书后,即便是输入局域网ip地址,也是自动跳转到域名访问了。这样万一域名挂了,即使是在局域网输入ip地址也访问不了。有没有什么办法能在本地让ip和域名都能访问到?谢谢告知。

Link to comment
On 3/6/2021 at 1:04 PM, kt212878 said:

本地写hosts文件即可

这样是可以,我是想知道unraid系统里有没有什么设置。因为我群晖和unraid都有,比如群晖的话,即便是设置了强制HTTPS,那么本地输入局域网ip地址的话也是能够直接访问的,无非就是提示证书风险。这样比较方便一点。

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...