Easy to manage multiple php servers behind Nginx.
NOTICE: Before you start, please backup your
You can simply download deploy.sh on your server and run it. The
deploy.sh could find your
nginx/conf directory and deploy automatically, after your confirmed.
deploy.sh based on
You can also define the deploy directory by yourself:
You can download this project, extract it by
unzip, then copy
conf to your
cp conf /usr/local/nginx/conf
1. Create a new server.
You can create a new server by simply make a copy from the example file.
cd /usr/local/nginx/conf/servers cp server.conf.example myserver.conf
myserver.conf and setup server_name and root.
2. Restart your nginx service.
- add more settings
- add comments
- support other languages