wedding-planner/nginx.conf
Manuel Bustillo b237239a1f
Some checks failed
Check usage of free licenses / check-licenses (pull_request) Failing after 48s
Add copyright notice / copyright_notice (pull_request) Successful in 57s
Run unit tests / unit_tests (pull_request) Failing after 3m28s
Define an endpoint to retrieve a LibreCaptcha captcha
2024-12-01 19:42:25 +01:00

26 lines
554 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 /captcha/ {
proxy_pass http://libre-captcha:8888/;
proxy_set_header Host $http_host;
}
location / {
proxy_pass http://frontend:3000;
proxy_set_header Host $http_host;
}
}