Skip to content
Snippets Groups Projects
Commit 285725b4 authored by nimrod's avatar nimrod
Browse files

Upgrade-Insecure-Requests on www.shore.co.il.

Redirect to https only if the client asked.
parent 8dcf028b
No related branches found
No related tags found
No related merge requests found
Pipeline #1189 failed
......@@ -6,12 +6,12 @@ server {
include snippets/ads-txt.conf;
include snippets/security-txt.conf;
include snippets/www-acme-challenge.conf;
location = / { return 301 https://$host/blog/; }
include snippets/upgrade-secure.conf;
location = / { return 301 http://$host/blog/; }
location /repo/ {
root /var/www/www.shore.co.il/;
autoindex on;
}
include snippets/redirect-https.conf;
}
server {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment