Define nginx configuration file
All checks were successful
Build Nginx-based docker image / build-static-assets (pull_request) Successful in 29m45s
Run unit tests / unit_tests (pull_request) Successful in 2m14s

This commit is contained in:
Manuel Bustillo 2024-10-27 14:04:02 +01:00
parent 36d79b26f5
commit b40ef06649

15
nginx.conf Normal file
View File

@ -0,0 +1,15 @@
server {
listen 80;
server_name libre-wedding-planner.app.localhost;
location /api/ {
proxy_pass http://localhost:3001/;
proxy_set_header Host $http_host;
}
location / {
proxy_pass http://localhost:3000;
proxy_set_header Host $http_host;
}
}