Starting Foundation automation
This commit is contained in:
@@ -24,10 +24,13 @@ http {
|
||||
|
||||
# Redirect all HTTP to HTTPS
|
||||
server {
|
||||
listen 81 default_server;
|
||||
listen [::]:81 default_server;
|
||||
|
||||
listen 80 default_server;
|
||||
listen [::]:80 default_server;
|
||||
server_name _;
|
||||
return 301 https://$host$request_uri;
|
||||
location / {
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
||||
}
|
||||
|
||||
include ../conf.d/*.conf;
|
||||
|
||||
Reference in New Issue
Block a user