Skip to content

fetchandadd/nginx-unit-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nginx Unit Example

Preliminary steps

Install and start nginx unit via docker

docker-compose up

Nginx Unit is already configured through the image building process from Docker. It can be reconfigured with this:

cd config
./configure.bash

Nginx Unit sample apps

Nginx Unit modules are shipped with sample apps.

PHP

http localhost:8300

Python 2.7

http localhost:8400

Go

http localhost:8500

Perl

http localhost:8600

Ruby

http localhost:8700

Custom sample apps

This example has also custom apps. The source code can be founded in the subdirectory www.

Python 2.7

http localhost:8081

PHP

http localhost:8082