如何同时开启SSL和非SSL访问


Recommended Posts

为了让我的unraid能在外网访问,我在路由器上面做了自己动态IP的DDNS,然后unraid里面配置了SSL证书,但我一旦在Management Access里面把Use SSL/TLS设置成YES,在lan环境下输入unraid IP地址也会自动跳转到https。

 

有没有能一种方法,能在内网用IP地址访问的时候不自动跳转到https?

Link to comment
On 5/16/2021 at 10:37 PM, lyqalex said:

你可以安装如openvpn等网络隧道服务端作为外网访问,并根据需求设置加密,这反而比你开放各类端口便于外网访问更安全。然后unraid设置里面的ssl选否,便于内网访问。
 

目前我常用的网络环境不太适合OPENVPN, 端口实际上我也只开了两个,一个unraid的WEBUI,一个nginx的反代端口。

 

我只是想在内网调试的时候用http和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.