202-450 Exam QuestionsBrowse all questions from this exam

202-450 Exam - Question 41


When trying to reverse proxy a web server through Nginx, what keyword is missing from the following configuration sample?

Show Answer
Correct Answer: D

To reverse proxy a web server through Nginx, the missing keyword from the configuration sample is 'proxy_pass'. This directive is used to pass requests to another server. The correct configuration line should be: proxy_pass http://proxiedserver:8080;. This tells Nginx to forward incoming requests to the specified proxied server.

Discussion

1 comment
Sign in to comment
ArminaOption: D
Feb 13, 2022

D is correct! For example, if you want to configure Nginx as a basic reverse proxy server by http://10.1.1.252/, replace the entire server section of the configuration file with the following: server { listen 80; location / { proxy_pass http://10.1.1.252; } }