fixed backend routes

This commit is contained in:
2024-03-24 16:55:12 +03:00
parent 0edcecd0f5
commit be07d304ee
3 changed files with 2 additions and 3 deletions

View File

@ -28,7 +28,7 @@ server {
proxy_hide_header 'Access-Control-Allow-Methods';
add_header 'Access-Control-Allow-Methods' '*' always;
proxy_pass http://backend:8000/api/;
proxy_pass http://backend:8000/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;