deactivated corp proxy
All checks were successful
Deploy / lint (push) Successful in 5s
Deploy / test (push) Successful in 29s
Deploy / deploy (push) Successful in 21s

This commit is contained in:
2026-03-03 20:45:28 +01:00
parent ee647e4ae7
commit 03ea60e067
2 changed files with 16 additions and 6 deletions

View File

@@ -18,7 +18,8 @@ server {
# Redirect all HTTP to HTTPS (uncomment after certbot setup)
# return 301 https://$host$request_uri;
location / {
# Map API requests to the Python backend
location /api/ {
proxy_pass http://127.0.0.1:8998;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
@@ -27,4 +28,11 @@ server {
proxy_read_timeout 120s;
proxy_connect_timeout 10s;
}
# Serve the compiled Node.js frontend directly
location / {
root /opt/signalplatform/frontend/dist;
index index.html;
try_files $uri $uri/ /index.html;
}
}