Skip to content

Commit

Permalink
fix nesting in nginx.conf
Browse files Browse the repository at this point in the history
Signed-off-by: SeanCondon <[email protected]>
  • Loading branch information
SeanCondon committed Aug 16, 2024
1 parent efa2ffb commit 977a241
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions ChatQnA/docker/ui/react/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,17 @@ server {
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" {
proxy_pass $CHAT_BASE_URL;
}
location "/v1/chatqna" {
proxy_pass $CHAT_BASE_URL;
}

location "/v1/dataprep" {
proxy_pass $UPLOAD_FILE_BASE_URL;
}
location "/v1/dataprep" {
proxy_pass $UPLOAD_FILE_BASE_URL;
}
}

0 comments on commit 977a241

Please sign in to comment.