fix: added fix for nginx issue upon page refresh (#4096)

Signed-off-by: Saranya-jena <saranya.jena@harness.io>
Co-authored-by: Vedant Shrotria <vedant.shrotria@harness.io>
This commit is contained in:
Saranya Jena 2023-07-20 13:01:45 +08:00 committed by GitHub
parent 6fabedfd91
commit 7513bcffe1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 0 deletions

View File

@ -42,6 +42,7 @@ http {
location / {
proxy_http_version 1.1;
add_header Cache-Control "no-cache";
try_files $uri /index.html;
autoindex on;
}

View File

@ -504,6 +504,7 @@ data:
location / {
proxy_http_version 1.1;
add_header Cache-Control "no-cache";
try_files $uri /index.html;
autoindex on;
}

View File

@ -504,6 +504,7 @@ data:
location / {
proxy_http_version 1.1;
add_header Cache-Control "no-cache";
try_files $uri /index.html;
autoindex on;
}

View File

@ -470,6 +470,7 @@ data:
location / {
proxy_http_version 1.1;
add_header Cache-Control "no-cache";
try_files $uri /index.html;
autoindex on;
}