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

4 lines
68 B
Plaintext
Raw Normal View History

2017-12-20 18:02:37 -05:00
if ($scheme = "http") {
return 301 https://$host$request_uri;
}