Comment out /api splitter for now, assume all traffic to backend comes from the frontend
Some checks failed
Podman Rootless Demo / test-backend (push) Has been skipped
Podman Rootless Demo / test-frontend (push) Has been skipped
Podman Rootless Demo / build-backend (push) Has been skipped
Podman Rootless Demo / build-frontend (push) Has been skipped
Podman Rootless Demo / deploy-prod (push) Failing after 31s
Some checks failed
Podman Rootless Demo / test-backend (push) Has been skipped
Podman Rootless Demo / test-frontend (push) Has been skipped
Podman Rootless Demo / build-backend (push) Has been skipped
Podman Rootless Demo / build-frontend (push) Has been skipped
Podman Rootless Demo / deploy-prod (push) Failing after 31s
This commit is contained in:
parent
5196e1e0f6
commit
719d745bcb
1 changed files with 25 additions and 25 deletions
|
|
@ -37,13 +37,13 @@ http {
|
||||||
}
|
}
|
||||||
|
|
||||||
# backend API
|
# backend API
|
||||||
location /api/ {
|
# location /api/ {
|
||||||
proxy_http_version 1.1;
|
# proxy_http_version 1.1;
|
||||||
proxy_set_header Host $host;
|
# proxy_set_header Host $host;
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
# proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
proxy_set_header X-Forwarded-Proto $scheme;
|
# proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
proxy_set_header Connection "";
|
# proxy_set_header Connection "";
|
||||||
proxy_pass http://127.0.0.1:${PROD_BACKEND_PORT}/;
|
# proxy_pass http://127.0.0.1:${PROD_BACKEND_PORT}/;
|
||||||
}
|
# }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue