|
|
@@ -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": [], |