by pagnol · 5y ago · 0 comments
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.
No comments yet.