Merge pull request #1276 from palashgdev/414-uri

feat: nginx uri issue is handled by increasing buffers
This commit is contained in:
Palash 2022-06-21 17:36:41 +05:30 committed by GitHub
commit 0b36da714f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,6 +11,11 @@ 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;