diff --git a/deploy/docker/nginx-config.conf b/deploy/docker/nginx-config.conf index fa936b0732..881cdc77cb 100644 --- a/deploy/docker/nginx-config.conf +++ b/deploy/docker/nginx-config.conf @@ -1,6 +1,16 @@ server { listen 3000; server_name _; + + gzip on; + gzip_static on; + gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript; + gzip_proxied any; + gzip_vary on; + gzip_comp_level 6; + gzip_buffers 16 8k; + gzip_http_version 1.1; + location / { root /usr/share/nginx/html; index index.html index.htm; diff --git a/deploy/kubernetes/platform/signoz-charts/frontend/templates/config.yaml b/deploy/kubernetes/platform/signoz-charts/frontend/templates/config.yaml index db54d18dac..aebe4b2216 100644 --- a/deploy/kubernetes/platform/signoz-charts/frontend/templates/config.yaml +++ b/deploy/kubernetes/platform/signoz-charts/frontend/templates/config.yaml @@ -9,6 +9,16 @@ data: server { listen {{ .Values.service.port }}; server_name _; + + gzip on; + gzip_static on; + gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript; + gzip_proxied any; + gzip_vary on; + gzip_comp_level 6; + gzip_buffers 16 8k; + gzip_http_version 1.1; + location / { root /usr/share/nginx/html; index index.html index.htm;