2024-10-27 17:10:11 +00:00
|
|
|
server {
|
|
|
|
listen 80;
|
|
|
|
server_name libre-wedding-planner.app.localhost;
|
|
|
|
|
|
|
|
location /api/ {
|
2024-11-03 13:53:36 +01:00
|
|
|
proxy_pass http://backend:3000/;
|
2024-10-27 17:10:11 +00:00
|
|
|
proxy_set_header Host $http_host;
|
|
|
|
}
|
|
|
|
|
2024-11-30 19:09:04 +01:00
|
|
|
location /letter_opener/ {
|
|
|
|
proxy_pass http://backend:3000/letter_opener/;
|
|
|
|
proxy_set_header Host $http_host;
|
|
|
|
}
|
|
|
|
|
2024-12-01 19:42:25 +01:00
|
|
|
location /captcha/ {
|
|
|
|
proxy_pass http://libre-captcha:8888/;
|
|
|
|
proxy_set_header Host $http_host;
|
|
|
|
}
|
|
|
|
|
2024-10-27 17:10:11 +00:00
|
|
|
location / {
|
2024-11-03 13:40:50 +01:00
|
|
|
proxy_pass http://frontend:3000;
|
2024-10-27 17:10:11 +00:00
|
|
|
proxy_set_header Host $http_host;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|