Skip to content

Commit

Permalink
chore: Add location for scoutsuite-report in nginx.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorwalton committed Jun 7, 2024
1 parent 332a50e commit 713d624
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions frontend/build/etc/nginx/sites-enabled/default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,15 @@ server {
proxy_pass http://copilot-backend:5000;
}

# location for scoutsuite-report
location /scoutsuite-report {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_pass http://copilot-backend:5000;
}

# Run all other routes through the frontend
location / {
client_max_body_size 0;
Expand Down

0 comments on commit 713d624

Please sign in to comment.