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

@ -11,6 +11,10 @@ server {
gzip_buffers 16 8k;
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' ) {
add_header Cache-Control no-store always;

View File

@ -11,6 +11,10 @@ server {
gzip_buffers 16 8k;
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;
index index.html index.htm;