1Panel/cmd/server/nginx_conf/http2https.conf
2022-11-17 21:20:33 +08:00

3 lines
No EOL
74 B
Text

if ($server_port !~ 443){
rewrite ^(/.*)$ https://$host$1 permanent;
}