chore: 🔧 Add 414 issue fix for Frontend default.conf and Swarm

Signed-off-by: Prashant Shahi <prashant@signoz.io>
This commit is contained in:
Prashant Shahi 2022-09-13 22:37:39 +05:30
parent c9139c5236
commit 05de0ccba5
No known key found for this signature in database
GPG Key ID: 6E62ED14180EB2C0
2 changed files with 13 additions and 5 deletions

View File

@ -3,13 +3,17 @@ server {
server_name _;
gzip on;
gzip_static 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;
gzip_http_version 1.1;
# to handle uri issue 414 from nginx
client_max_body_size 24M;
large_client_header_buffers 8 16k;
location / {
if ( $uri = '/index.html' ) {

View File

@ -1,15 +1,19 @@
server {
listen 3301;
server_name _;
gzip on;
gzip_static 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;
gzip_http_version 1.1;
# to handle uri issue 414 from nginx
client_max_body_size 24M;
large_client_header_buffers 8 16k;
location / {
root /usr/share/nginx/html;