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 Aug 17, 2024
1 parent 977a241 commit 7805636
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 7805636

Please sign in to comment.