feat(api): count recorded sessions endpoint

feat(nginx): block public access to count recorded sessions endpoint
This commit is contained in:
Taha Yassine Kraiem 2021-10-25 14:57:51 +02:00
parent 3cc3fc27a1
commit a76d958208

View file

@ -2,7 +2,7 @@ apiVersion: v1
kind: ConfigMap
metadata:
name: nginx
namespace: {{ .Release.Namespace }}
namespace: { { .Release.Namespace } }
data:
location.list: |-
location /healthz {
@ -85,6 +85,9 @@ 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;