Skip to content

Commit

Permalink
fix: auth proxy issues (#632)
Browse files Browse the repository at this point in the history
  • Loading branch information
kulgg authored Jan 18, 2024
1 parent 04303a1 commit ddf34ac
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ the detailed section referring to by linking pull requests or issues.

#### Patch

- Fix auth proxy issues by disabling caching for non-static files

#### Deployment Migration Notes

## [v2.3.1] 2024-01-18
Expand Down
11 changes: 9 additions & 2 deletions docker/default.conf.template
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,16 @@ server {
server_name localhost;

root /usr/share/nginx/html;
index index.html;

location / {
try_files $uri $uri/ /index.html;
index do-not-use-me.html;
try_files $uri @index;
}

location @index {
add_header Cache-Control no-cache;
expires 0;
index index.html;
try_files /index.html =404;
}
}

0 comments on commit ddf34ac

Please sign in to comment.