5

How to dynamically reload nginx config

view full story
linux-howto

http://serverfault.com – I'm currently trying to setup Nginx for a domain with production, testing and development stages. Each comes with it's own partial Nginx config file with rewrites. The production and testing stages are set up as branches from a Git repository and automatic reloading of these configurations in Git's post-receive hook. This all works just fine. The development stage I'd like to transmit using SFTP using Netbeans' "SFTP-on-save" as I don't need version control at this granularity and it's a bit more direct. However, here I have no such thing as git's post-receive hook to trigger Nginx to reload (HowTos)