LPI
117-202 · Question #289
When trying to reverse proxy a web server through Nginx, what keyword is required to pass the Host header from the original request to the proxied server? ... { _________ Host $host ... }
The correct answer is C. proxy_set_header. See the full explanation below for the reasoning.
Question
When trying to reverse proxy a web server through Nginx, what keyword is required to pass the Host header from the original request to the proxied server? ... { _________ Host $host ... }
Options
- Aproxy_pass_header
- Bproxy_forward_header
- Cproxy_set_header
- Dproxy_header
How the community answered
(47 responses)- A13% (6)
- B4% (2)
- C77% (36)
- D6% (3)
Community Discussion
No community discussion yet for this question.