turning https
This commit is contained in:
10
nginx.conf
10
nginx.conf
@@ -21,8 +21,8 @@ server {
|
|||||||
add_header X-Frame-Options DENY;
|
add_header X-Frame-Options DENY;
|
||||||
add_header X-XSS-Protection "1; mode=block";
|
add_header X-XSS-Protection "1; mode=block";
|
||||||
}
|
}
|
||||||
server {
|
# server {
|
||||||
listen 80;
|
# listen 80;
|
||||||
server_name hospital.networkwizard.xyz;
|
# server_name hospital.networkwizard.xyz;
|
||||||
return 301 https://$host$request_uri;
|
# return 301 https://$host$request_uri;
|
||||||
}
|
# }
|
||||||
Reference in New Issue
Block a user