Skip to content
thttpd config for using as an upstream CGI processor with Nginx
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Configuration for using thttpd as a CGI processor for Nginx


This is a thttpd configuration for running the tiny HTTPD as a CGI processor upstream of Nginx.


  1. Bond to the loopback device:

  2. Capability of running CGI scripts.

  3. 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.

Something went wrong with that request. Please try again.