frontend/nginx.conf

15 lines
207 B
Nginx Configuration File

server {
listen 80;
server_name _;
root /usr/share/nginx/html;
location / {
try_files $uri /index.html;
}
location /api/ {
proxy_pass http://backend:8080/;
}
}