added geoip filters to ingresses
This commit is contained in:
@@ -399,6 +399,9 @@ metadata:
|
||||
proxy_hide_header X-Frame-Options;
|
||||
proxy_hide_header Content-Security-Policy;
|
||||
add_header X-Frame-Options "ALLOW-FROM https://orsi.dooplex.hu" always;
|
||||
if ($geoip2_city_country_code != "HU") {
|
||||
return 403 "Access restricted to Hungary";
|
||||
}
|
||||
labels:
|
||||
app.kubernetes.io/instance: outline
|
||||
app.kubernetes.io/name: outline
|
||||
|
||||
Reference in New Issue
Block a user