Skip to content

isabella232/http2fcgi

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

http2fcgi

Quickly serve any FastCGI based application with no hassle.

This is a fork of alash3al/http2fcgi which removes everything except basic fastcgi transport functionality. It doesn't serve files or indexes, check file paths, look at extensions, etc.

To run, if http2fcgi is in your current directory, type:

./http2fcgi

That will create a gateway that listens for HTTP on port 6065, and will forward as fastcgi to a unix socket called fcgi.sock in the current directory. See below for how to customize these.

Download

Latest releases available from:

Help

➜  http2fcgi -h
Usage of http2fcgi:
  -fcgi string
        the fcgi backend to connect to (default "unix:./fcgi.sock")
  -http string
        the http address to listen on (default ":6065")
  -rtimeout int
        the read timeout, zero means unlimited
  -wtimeout int
        the write timeout, zero means unlimited

You can use either TCP or unix sockets for each of -fcgi and -http; any URL that go understands should work.

Authors

  • Mohammed Al Ashaal: original http2fcgi version
  • Jeremy Howard: this fork
  • Caddy authors: fastcgi transport used in http2fcgi

License

MIT License

About

A quick & tiny HTTP to FastCGI reverse proxy.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 90.1%
  • Shell 9.9%