homelab/roles/nginx/files/snippets/force-ssl.conf

3 lines
64 B
Plaintext
Raw Normal View History

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