Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 551 Bytes

README.md

File metadata and controls

21 lines (13 loc) · 551 Bytes

Configuration for using thttpd as a CGI processor for Nginx

Introduction

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

Features

  1. Bond to the loopback device: 127.0.0.1.

  2. Capability of running CGI scripts.

  3. Use of unpriveleged ports for both practical and security reasons.

Usage

This configuration is used for relaunching php-fpm when a 502 is captured by Nginx.