Kaynağa Gözat

Added HTTPS redirect i property rules

main
kusum 10 ay önce
ebeveyn
işleme
d1f51414ce

+ 29
- 1
GSAutomation/cpr-lab/property-snippets/Strengthen_security.json Dosyayı Görüntüle

@@ -161,7 +161,35 @@
"criteria": [],
"criteriaMustSatisfy": "all",
"comments": "Require all browsers to connect to your site using HTTPS."
}
},
{
"name": "Redirect to HTTPS",
"children": [],
"behaviors": [
{
"name": "redirect",
"options": {
"destinationHostname": "SAME_AS_REQUEST",
"destinationPath": "SAME_AS_REQUEST",
"destinationProtocol": "HTTPS",
"mobileDefaultChoice": "DEFAULT",
"queryString": "APPEND",
"responseCode": 301
}
}
],
"comments": "Redirect to the same URL on HTTPS protocol, issuing a 301 response code",
"criteria": [
{
"name": "requestProtocol",
"options": {
"value": "HTTP"
}
}
],
"options": {},
"criteriaMustSatisfy": "all"
}
],
"behaviors": [],
"criteria": [],

Loading…
İptal
Kaydet