This is a thttpd configuration for running the tiny HTTPD as a CGI processor upstream of Nginx.
-
Bond to the loopback device: 127.0.0.1.
-
Capability of running CGI scripts.
-
Use of unpriveleged ports for both practical and security reasons.
This configuration is used for relaunching php-fpm when a 502 is captured by Nginx.