Redirect HTTP to HTTPS
This commit is contained in:
parent
209ff57a4a
commit
9aca035f2d
@ -1,3 +1,10 @@
|
||||
server {
|
||||
listen 80;
|
||||
|
||||
server_name {{ item.domain }};
|
||||
return 301 https://{{ item.domain }}$request_uri;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name {{ item.domain }};
|
||||
|
Loading…
Reference in New Issue
Block a user