nginx-proxy-manager-zh/docker/rootfs/etc/nginx/conf.d/include/force-ssl.conf

4 lines
68 B
Plaintext

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