mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-02-17 07:58:08 +01:00
Provide nginx docker build recipe
This commit is contained in:
parent
36f3d37ecc
commit
40ed6fa9ec
3 changed files with 37 additions and 1 deletions
15
client/nginx.conf
Normal file
15
client/nginx.conf
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
server {
|
||||
listen 80;
|
||||
server_name localhost;
|
||||
|
||||
location / {
|
||||
# Serve your React app
|
||||
root /usr/share/nginx/html;
|
||||
index index.html;
|
||||
}
|
||||
|
||||
location /api {
|
||||
# Proxy requests to the API service
|
||||
proxy_pass http://api:3080/api;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue