1Panel/cmd/server/nginx_conf/http2https.conf

3 lines
74 B
Plaintext
Raw Normal View History

2022-10-28 09:04:57 +00:00
if ($server_port !~ 443){
rewrite ^(/.*)$ https://$host$1 permanent;
}