- 'HTTPS on X-Forwarded-Proto=https'
- 'HTTPS on HTTPS=on'
- 'X-Forwarded-For ^80.146.239.2 admin_ip_range'
+ - 'X-Forwarded-For 192.168.15.1[67] admin_ip_range'
error_documents:
- { error_code: 401 , document: "/401.html" }
- { error_code: 403 , document: "/403.html" }
auth_digest_provider: file
auth_digest_algorithm: MD5
auth_user_file: '/etc/httpd/htdigest'
- auth_require: 'valid-user'
+ require:
+ enforce: any
+ requires:
+ - 'valid-user'
+ - 'env admin_ip_range'
# - provider: location
# path: '/api'
- provider: location