Nginx Unit Example
Preliminary steps
Install and start nginx unit via docker
docker-compose upNginx Unit is already configured through the image building process from Docker. It can be reconfigured with this:
cd config
./configure.bashNginx Unit sample apps
Nginx Unit modules are shipped with sample apps.
PHP
http localhost:8300Python 2.7
http localhost:8400Go
http localhost:8500Perl
http localhost:8600Ruby
http localhost:8700Custom sample apps
This example has also custom apps. The source code can be founded in the subdirectory www.
Python 2.7
http localhost:8081PHP
http localhost:8082