You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: restrict backend Container App to private access in WAF deployment
When enablePrivateNetworking (WAF mode) is active:
Infrastructure:
- Set Container App Environment to internal with public access disabled
- Create private DNS zone for the CAE default domain linked to VNet
- Add wildcard A record pointing to CAE static IP for DNS resolution
- Frontend App Service gets PROXY_API_REQUESTS=true env var
Frontend:
- FastAPI server proxies /api/* requests to backend via httpx over VNet
- /config endpoint returns same-origin /api URL in WAF mode
- Added httpx dependency
Post-deploy scripts:
- Detect internal ingress / IP restrictions / PROXY_API_REQUESTS
- Route API calls through frontend App Service proxy
Non-WAF deployments remain unchanged.
Resolves AB#39249
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
0 commit comments