Skip to content

Commit

Permalink
fix: added fix for nginx issue upon page refresh (#4096)
Browse files Browse the repository at this point in the history
Signed-off-by: Saranya-jena <saranya.jena@harness.io>
Co-authored-by: Vedant Shrotria <vedant.shrotria@harness.io>
  • Loading branch information
Saranya-jena and Jonsy13 committed Jul 20, 2023
1 parent 6fabedf commit 7513bcf
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions chaoscenter/web/nginx/nginx.conf
Expand Up @@ -42,6 +42,7 @@ http {
location / {
proxy_http_version 1.1;
add_header Cache-Control "no-cache";
try_files $uri /index.html;
autoindex on;
}

Expand Down
Expand Up @@ -504,6 +504,7 @@ data:
location / {
proxy_http_version 1.1;
add_header Cache-Control "no-cache";
try_files $uri /index.html;
autoindex on;
}
Expand Down
1 change: 1 addition & 0 deletions mkdocs/docs/3.0.0-beta10/litmus-3.0.0-beta10.yaml
Expand Up @@ -504,6 +504,7 @@ data:
location / {
proxy_http_version 1.1;
add_header Cache-Control "no-cache";
try_files $uri /index.html;
autoindex on;
}
Expand Down
Expand Up @@ -470,6 +470,7 @@ data:
location / {
proxy_http_version 1.1;
add_header Cache-Control "no-cache";
try_files $uri /index.html;
autoindex on;
}
Expand Down

0 comments on commit 7513bcf

Please sign in to comment.