Task: Configure Nginx Reverse Proxy with Conditional Host Header Rewriting
Task: Configure Nginx Reverse Proxy with Conditional Host Header Rewriting: a task in Terminal-Lego-15k (Harbor dataset). Configure an Nginx reverse proxy that conditionally rewrites the Host header based on the incoming request's host. Specifically, when requests arrive for beta.example.com , the…
The task
Configure an Nginx reverse proxy that conditionally rewrites the `Host` header based on the incoming request's host. Specifically, when requests arrive for `beta.example.com`, the proxy should forward them to the backend with the `Host` header set to `www.example.com`. All other hosts should pass through their…
Part of PrimeIntellect/Terminal-Lego-15k.