NginxProxyManager非标准端口http自动跳转https配置方法
家庭网络的80/443端口一般都封锁的, NPM配置强制https, 非标准端口会提示the plain http was sent to https port
, 而不是像我们预期的那样自动跳转到https.
在Advanced
里添加配置 error_page 497 https://$http_host$request_uri;
如图:
👇公众号👇
欢迎大家私信交流
家庭网络的80/443端口一般都封锁的, NPM配置强制https, 非标准端口会提示the plain http was sent to https port
, 而不是像我们预期的那样自动跳转到https.
在Advanced
里添加配置 error_page 497 https://$http_host$request_uri;
如图: