wedding-planner/nginx.conf
Manuel Bustillo 12174b6f20
Some checks failed
Run unit tests / check-licenses (pull_request) Failing after 1m44s
Run unit tests / rubocop (pull_request) Failing after 1m46s
Run unit tests / copyright_notice (pull_request) Successful in 2m8s
Run unit tests / unit_tests (pull_request) Failing after 3m30s
Run unit tests / build-static-assets (pull_request) Has been skipped
Persist VNS calculation progress whenever an improvement has been made
2025-09-08 22:44:54 +02:00

31 lines
689 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 /letter_opener/ {
proxy_pass http://backend:3000/letter_opener/;
proxy_set_header Host $http_host;
}
location /jobs/ {
proxy_pass http://backend:3000/jobs/;
proxy_set_header Host $http_host;
}
location /captcha/v2/media/ {
proxy_pass http://libre-captcha:8888/v2/media/;
proxy_set_header Host $http_host;
}
location / {
proxy_pass http://frontend:3000;
proxy_set_header Host $http_host;
}
}