All Projects → alash3al → http2fcgi

alash3al / http2fcgi

Licence: MIT license
a quick & tiny http to fast-cgi reverse proxy, let's serve our php,python ... etc apps with no hassle!

Programming Languages

go
31211 projects - #10 most used programming language

Labels

Projects that are alternatives of or similar to http2fcgi

sgi
Socket Gateway Interface
Stars: ✭ 16 (-71.93%)
Mutual labels:  fastcgi
Kitura Net
Kitura networking
Stars: ✭ 98 (+71.93%)
Mutual labels:  fastcgi
Nginx Helper
Nginx Helper for WordPress caching, permalinks & efficient file handling in multisite
Stars: ✭ 170 (+198.25%)
Mutual labels:  fastcgi
Fast Cgi Client
A PHP fast CGI client for sending requests (a)synchronously to PHP-FPM
Stars: ✭ 478 (+738.6%)
Mutual labels:  fastcgi
Gopherus
This tool generates gopher link for exploiting SSRF and gaining RCE in various servers
Stars: ✭ 1,258 (+2107.02%)
Mutual labels:  fastcgi
Protocol Fcgi
FastCGI (FCGI) Protocol implementation for PHP
Stars: ✭ 106 (+85.96%)
Mutual labels:  fastcgi
cpplipa
C++ library package
Stars: ✭ 17 (-70.18%)
Mutual labels:  fastcgi
Fastcgipp
fastcgi++: A C++ FastCGI and Web development platform:
Stars: ✭ 236 (+314.04%)
Mutual labels:  fastcgi
Libtelegram
Fast, efficient, header-only C++ Telegram bot API library using polling or FastCGI
Stars: ✭ 88 (+54.39%)
Mutual labels:  fastcgi
Haproxy
HAProxy Load Balancer's development branch (mirror of git.haproxy.org)
Stars: ✭ 2,463 (+4221.05%)
Mutual labels:  fastcgi
Build
TeaWeb-可视化的Web代理服务。DEMO: http://teaos.cn:7777
Stars: ✭ 656 (+1050.88%)
Mutual labels:  fastcgi
Php Fpm Status Cli
PHP-FPM status-page CLI
Stars: ✭ 60 (+5.26%)
Mutual labels:  fastcgi
Fcgi2
FastCGI.com fcgi2 Development Kit fork from http://repo.or.cz/fcgi2.git + last snapshot
Stars: ✭ 134 (+135.09%)
Mutual labels:  fastcgi
Php Fastcgi Client
Lightweight, single file, FastCGI client for PHP
Stars: ✭ 270 (+373.68%)
Mutual labels:  fastcgi
Kcgi
minimal CGI and FastCGI library for C/C++
Stars: ✭ 194 (+240.35%)
Mutual labels:  fastcgi
fano
Pascal web application framework
Stars: ✭ 21 (-63.16%)
Mutual labels:  fastcgi
Php Fpm Queue
Use php-fpm as a simple built-in async queue
Stars: ✭ 103 (+80.7%)
Mutual labels:  fastcgi
fcgi-function
A cross-platform module to writing C/C++ service for nginx.
Stars: ✭ 33 (-42.11%)
Mutual labels:  fastcgi
Criollo
A powerful Cocoa web framework and HTTP server for macOS, iOS and tvOS.
Stars: ✭ 229 (+301.75%)
Mutual labels:  fastcgi
Gofast
gofast is a FastCGI "client" library written purely in go
Stars: ✭ 140 (+145.61%)
Mutual labels:  fastcgi

HTTP2FCGI

Quickly serve any FastCGI based application with no hassle.

Quick Overview

➜ http2fcgi --root /var/www/laravel-project/public --http :8000

Help?

➜  http2fcgi -h
Usage of http2fcgi:
  -ext comma separated list
        the fastcgi file extension(s) comma separated list (default "php")
  -fcgi string
        the fcgi backend to connect to, you can pass more fcgi related params as query params (default "unix:///var/run/php/php7.0-fpm.sock")
  -http string
        the http address to listen on (default ":6065")
  -index string comma separated list
        the default index file (default "index.php,index.html")
  -listing
        whether to allow directory listing or not
  -root string
        the document root (default "./")
  -router string
        the router filename incase of any 404 error (default "index.php")
  -rtimeout int
        the read timeout, zero means unlimited
  -wtimeout int
        the write timeout, zero means unlimited

What?

http2fcgi is a reverse proxy that will convert the standard http request to fcgi request so it can served by i.e php, python ... etc.

Why?

I wanted a production ready simple and tiny solution to serve some of my laravel based projects.

Download

  • Binary, go to the releases page.

  • Using Docker ➜ docker run --network=host -v /var/www/site/public:/var/www/site/public -v /var/run/php/php7.0-fpm.sock:/var/run/php/php7.0-fpm.sock alash3al/http2fcgi -root /var/www/site/public -http :8085.

  • Using Go ➜ go get github.com/alash3al/http2fcgi.

Advanced

From your app you can ask http2fcgi to send a file with any size directly to the browser without any hassle in your app logic, just send a header X-SendFile: /full/path/to/file then let http2fcgi deal with it.

Author

Mohammed Al Ashaal

License

MIT License

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].