Exam 202-450 Topic 9 Question 42 Discussion
Actual exam question for Lpi's 202-450 exam
Question #: 42
Topic #: 9
Question #: 42
Topic #: 9
With Nginx, which of the following directives is used to proxy requests to a FastCGI application?
Suggested Answer: A Vote an answer
Explanation
The fastcgi_pass directive is used to proxy requests to a FastCGI application in Nginx. It specifies the address of the FastCGI server or the path of the Unix-domain socket that will accept FastCGI requests. For example:
location ~ \.php$ { include fastcgi_params; fastcgi_pass 127.0.0.1:9000; } This configuration will pass any requests ending with .php to the FastCGI server listening on 127.0.0.1:9000.
The other options are not valid directives in Nginx. There is no fastcgi_proxy, proxy_fastcgi, proxy_fastcgi_pass, or fastcgi_forward directive. The proxy_pass directive is used to proxy requests to a HTTP server, not a FastCGI application.
References:
Module ngx_http_fastcgi_module - nginx
FastCGI Example | NGINX
Understanding and Implementing FastCGI Proxying in Nginx
The fastcgi_pass directive is used to proxy requests to a FastCGI application in Nginx. It specifies the address of the FastCGI server or the path of the Unix-domain socket that will accept FastCGI requests. For example:
location ~ \.php$ { include fastcgi_params; fastcgi_pass 127.0.0.1:9000; } This configuration will pass any requests ending with .php to the FastCGI server listening on 127.0.0.1:9000.
The other options are not valid directives in Nginx. There is no fastcgi_proxy, proxy_fastcgi, proxy_fastcgi_pass, or fastcgi_forward directive. The proxy_pass directive is used to proxy requests to a HTTP server, not a FastCGI application.
References:
Module ngx_http_fastcgi_module - nginx
FastCGI Example | NGINX
Understanding and Implementing FastCGI Proxying in Nginx
by Channing at Mar 19, 2026, 12:22 AM
0
0
0
10
Comments
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Report Comment
Commenting
You can sign-up / login (it's free).