nginx-docker-compose/includes/force-ssl.conf

3 lines
64 B
Plaintext
Raw Permalink Normal View History

2022-05-30 19:33:51 +00:00
if ($scheme = "http") {
return 301 https://$host$request_uri;
}