Skip to content

Commit

Permalink
Fix image upload in text fields.
Browse files Browse the repository at this point in the history
  • Loading branch information
mdrie committed Sep 30, 2024
1 parent 8aab25c commit e2d860d
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions config/nginx/conf.d/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,17 @@ server {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}

location /api/ {
proxy_pass http://djangoapp:8000;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}

location /martor/ {
proxy_pass http://djangoapp:8000;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}

location / {
proxy_pass http://frontend:3000;
Expand Down

0 comments on commit e2d860d

Please sign in to comment.