pagnol
Joined 13 years ago
Karma
159
Submissions
91
Member since
Apr 25
Reach me at [email protected]
View on Hacker NewsJoined 13 years ago
1. Run Nginx (or OpenResty in my case) in Docker
2. Have the config files in a volume
3. Have a script (Python, Bash or anything else) which watches the config files for changes, then first runs `nginx -s reload` in the Nginx container, and then executes a number of unit tests
For Emacs users there's also an nginx-mode which makes a bit more pleasant to edit the config files.
As someone who does a lot of cycling, I'm used to road rage directed at me in the form of punishment passes mostly.