feat(nginx): fixed block public access to count recorded sessions endpoint
This commit is contained in:
parent
e6d6028a70
commit
83389bfda7
1 changed files with 4 additions and 4 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue