-
Notifications
You must be signed in to change notification settings - Fork 435
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Auto Reload Nginx Configuration #3
Comments
Nice. 👍 |
ghost
assigned MiteshShah
Oct 23, 2012
Closed
Also commit changes git (if nginx -t passes). DATETIME and may be WHOAMI and CLIENT-IP in commit message |
ocomsoft
pushed a commit
to ocomsoft/nginx
that referenced
this issue
Aug 6, 2014
Added supervisord and watcher script. Script inspired by EasyEngine/easyengine#3. Credit to https://github.com/MiteshShah
Closed
Update: This is no longer relevant in EE v4. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When we create a symbolic link in
/etc/nginx/sites-enabled
Then shell script auto detect any new file is created in
/etc/nginx/sites-enabled
Then call
nginx -t
to check nginx configuration testIf nginx configuration test is passed
Then reload nginx using the following commands
service nginx reload
This following script is just a demo needed proper logging.
The text was updated successfully, but these errors were encountered: