Skip to content

tst2005experiments/nginx-as-user

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

$ sudo -i
# apt-get install nginx-light libnginx-mod-http-ndk libnginx-mod-http-lua
# git clone https://github.com/tst2005/chkconfig.sh
# ./chkconfig.sh/bin/chkconfig nginx off

$ git clone https://github.com/tst2005experiments/nginx-as-user
$ cd nginx-as-user
$ cd ./etc/site-enabled/
$ ln -s ../site-available/http12021.conf http12021.conf
$ cd -

$ cd deps
$ ./setup.sh

$ cd etc/nginx/app-enabled
$ ln -s ../app-available/api.conf api.conf
$ ln -s ../app-available/echo.conf echo.conf

$ ./bin/nginx start
$ ./bin/nginx status
$ ./bin/nginx stop

Known bugs

The ./bin/nginx reload try to access the system logfile. for now this unwanted behavior seems unfixable. You can use ./bin/nginx restart instead or ignore the ugly error lines.

About

run nginx as user from debian package for rapid development

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors