Redirect HTTP to HTTPS
This commit is contained in:
@@ -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 }};
|
||||
|
Reference in New Issue
Block a user