chore: Add location for scoutsuite-report in nginx.conf
Taylor committed
Jun 7, 2024 at 16:00 UTC
713d624bc4478c1fae6f6838bfbfd2ce6f771f9f
1 file changed
+9
frontend/build/etc/nginx/sites-enabled/default.conf
+9
@@ -62,6 +62,15 @@ server {
62
proxy_pass http://copilot-backend:5000;
63
}
64
65
+ # location for scoutsuite-report
66
+ location /scoutsuite-report {
67
+ proxy_set_header Host $host;
68
+ proxy_set_header X-Real-IP $remote_addr;
69
+ proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
70
+ proxy_set_header X-Forwarded-Proto $scheme;
71
+ proxy_pass http://copilot-backend:5000;
72
+ }
73
+
74
# Run all other routes through the frontend
75
location / {
76
client_max_body_size 0;