thatsk commented on issue #9051:
URL: https://github.com/apache/trafficserver/issues/9051#issuecomment-1226080477

   in the example in trafficserver page you are mentioning about city and 
giving country code is that correct
   https://docs.trafficserver.apache.org/admin-guide/plugins/maxmind_acl.en.html
   
   ```
   maxmind:
    database: GeoIP2-City.mmdb
    html: deny.html
    allow:
     country:
      - US
     ip:
      - 127.0.0.1
      - 192.168.10.0/20
    deny:
     country:
      - DE
     ip:
      - 127.0.0.1
     regex:
      - [US, ".*\\.txt"]  # Because these get parsed you must escape the escape 
of the ``.`` in order to have it be escaped in the regex, resulting in ".*\.txt"
      - [US, ".*\\.mp3"]```
    


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to