Skip to content

Commit

Permalink
fix nesting, remove try_files
Browse files Browse the repository at this point in the history
Signed-off-by: SeanCondon <[email protected]>
  • Loading branch information
SeanCondon committed Sep 6, 2024
1 parent da8c326 commit d2e0e43
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions ChatQnA/docker/ui/react/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,10 @@ server {
location / {
root /usr/share/nginx/html;
index index.html index.htm;
try_files $uri $uri/ /index.html =404;
}

location ~* \.(gif|jpe?g|png|webp|ico|svg|css|js|mp4|woff2)$ {
expires 1d;
location ~* \.(gif|jpe?g|png|webp|ico|svg|css|js|mp4|woff2)$ {
expires 1d;
}
}

location "/v1/chatqna" {
Expand Down

0 comments on commit d2e0e43

Please sign in to comment.