feat(nginx): fixed block public access to count recorded sessions endpoint

This commit is contained in:
Taha Yassine Kraiem 2021-10-25 17:58:38 +02:00
parent e6d6028a70
commit 83389bfda7

View file

@ -2,9 +2,12 @@ apiVersion: v1
kind: ConfigMap
metadata:
name: nginx
namespace: { { .Release.Namespace } }
namespace: {{ .Release.Namespace }}
data:
location.list: |-
location ~* /general_stats {
deny all;
}
location /healthz {
return 200 'OK';
}
@ -85,9 +88,6 @@ data:
proxy_intercept_errors on; # see http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_intercept_errors
error_page 404 =200 /index.html;
}
location ~* /general_stats {
deny all;
}
compression.conf: |-
# Compression
gzip on;