geo-whitelist

Access permission is given depend on the continent, country, region, and state/prefecture where IP address of client is belonging to. All request from the IP address that is not belonging to the list is rejected.

The setting that can be specified by the type parameter (required) is as follows.

  • continent – continent. continent – e.g.: "continent":"EU"
  • country – country. country – e.g.: "country":"US"
  • region – region. They have to be described in order of "Country code: Region code".

Example: "United States, Washington (State)" is "US:WA", "Australia, Western Australia" is "AU:WA", "United Kingdom, Wales" is "GB:WA"

Please refer to Appendix B for Country code, and Appendix C for Region code.


       {
         "rules": [
           {
             "matches": [
               {
                 "name": "url-wildcard",
                 "value": "/us/*"
               }
             ],
             "behaviors": [
               {
                 "name": "geo-whitelist",
                 "type": "country",
                 "value": "US"
               }
             ]
           }
         ]
       }