Define nginx configuration file (#70)
Some checks failed
Run unit tests / unit_tests (push) Successful in 3m0s
Build Nginx-based docker image / build-static-assets (push) Has been cancelled

Reviewed-on: #70
Co-authored-by: Manuel Bustillo <bustikiller@bustikiller.com>
Co-committed-by: Manuel Bustillo <bustikiller@bustikiller.com>
This commit is contained in:
Manuel Bustillo 2024-10-27 17:10:11 +00:00 committed by bustikiller
parent 50cc31a3cd
commit a0de5eb663

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;
}
}