attempting proxying

This commit is contained in:
2025-12-09 10:10:51 -05:00
parent 7829ac2885
commit fc4c53ac29

View File

@@ -16,7 +16,7 @@ http {
ssl_ciphers HIGH:!aNULL:!MD5; ssl_ciphers HIGH:!aNULL:!MD5;
location /api/ { location /api/ {
proxy_pass http://backend:5000/; proxy_pass http://chore-app-backend:5000/;
proxy_set_header Host $host; proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
@@ -24,7 +24,7 @@ http {
} }
location /events/ { location /events/ {
proxy_pass http://backend:5000/events; proxy_pass http://chore-app-backend:5000/events;
proxy_set_header Connection ''; proxy_set_header Connection '';
proxy_http_version 1.1; proxy_http_version 1.1;
chunked_transfer_encoding off; chunked_transfer_encoding off;