音乐分享(自动连播):
So cold
Not my baby
Wicked Game
What Is Love
Once Upon a Time
The Heart Of The Ocean
Sun Goes Down
Move That Body
Lose Control
云山
一趟
记录分享 记录是一种习惯 、分享是一种态度
nginx http跳转https 80端口跳转433
· 技术积累 · Nginx

修改你需要调整nginx配置文件

server {
......

if ($server_port = 80){
return 301 https://$server_name$request_uri;}

if ($scheme = http){
return 301 https://$server_name$request_uri;}

error_page 497 https://$server_name$request_uri;
......

}

本文最后更新时间 2021-02-26
文章链接地址:https://me.jinchuang.org/archives/27.html
本文内容未来会持续更新·本站文章除注明[转载|引用|原文]出处外,均为本站原生内容,转载前请注明出处


留言

顶部