Add https_redirect
This commit is contained in:
parent
20852782cf
commit
e1ff8be6f5
9
https_redirect
Normal file
9
https_redirect
Normal file
@ -0,0 +1,9 @@
|
||||
# default http -> https redirect
|
||||
|
||||
server {
|
||||
listen 80 default_server;
|
||||
server_name _;
|
||||
location / {
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user