wedding-planner/nginx.conf
Manuel Bustillo c2398c0d80
All checks were successful
Check usage of free licenses / build-static-assets (pull_request) Successful in 1m54s
Add copyright notice / copyright_notice (pull_request) Successful in 2m32s
Run unit tests / unit_tests (pull_request) Successful in 4m0s
Avoid exposing internal ports
2024-11-03 13:53:36 +01:00

16 lines
298 B
Nginx Configuration File

server {
listen 80;
server_name libre-wedding-planner.app.localhost;
location /api/ {
proxy_pass http://backend:3000/;
proxy_set_header Host $http_host;
}
location / {
proxy_pass http://frontend:3000;
proxy_set_header Host $http_host;
}
}