1
0
mirror of https://github.com/1Panel-dev/1Panel.git synced 2025-01-20 00:39:17 +08:00
1Panel/cmd/server/nginx_conf/http2https.conf
2022-11-17 21:20:33 +08:00

3 lines
74 B
Plaintext

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