Provide nginx docker build recipe

This commit is contained in:
Hyunggyu Jang 2023-03-22 22:59:29 +09:00
parent 36f3d37ecc
commit 40ed6fa9ec
3 changed files with 37 additions and 1 deletions

15
client/nginx.conf Normal file
View 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;
}
}