mirror of
https://github.com/Thumbscrew/nginx-docker-compose.git
synced 2025-02-23 02:50:03 +00:00
add ssl redirect config
This commit is contained in:
parent
968bf5dbe7
commit
7577603bdc
3
includes/force-ssl.conf
Normal file
3
includes/force-ssl.conf
Normal file
@ -0,0 +1,3 @@
|
||||
if ($scheme = "http") {
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
Loading…
Reference in New Issue
Block a user