added geoip filters to ingresses
This commit is contained in:
@@ -407,6 +407,10 @@ metadata:
|
||||
# Required for WebSocket connections (if using Cal.com video)
|
||||
nginx.ingress.kubernetes.io/proxy-http-version: "1.1"
|
||||
nginx.ingress.kubernetes.io/proxy-set-headers: "booking-system/calcom-proxy-headers"
|
||||
nginx.ingress.kubernetes.io/configuration-snippet: |
|
||||
if ($geoip2_city_country_code != "HU") {
|
||||
return 403 "Access restricted to Hungary";
|
||||
}
|
||||
spec:
|
||||
ingressClassName: nginx-internal
|
||||
rules:
|
||||
|
||||
Reference in New Issue
Block a user