Commit graph

3 commits

Author SHA1 Message Date
Jonathan Adami
757941293f use the node hostname as a config name when available 2020-04-26 21:57:08 +10:00
Jonathan Adami
a386ac668b Turns out I had to create a folder :/ remove the loop script and bugfix 2020-04-26 18:04:58 +10:00
Jonathan Adami
b395e3894e SWARM multi node multi container compatible
The idea:
 - all nodes generate their config in /etc/nginx/node.conf.d/HOSTNAME.conf
 - a python script can read all configs and merge them into one and reload nginx
 - using entr in Procfile, anytime any of these config change, they are merged immediately
 - the default nginx reload on notify is being removed to prevent from reloading twice
2020-04-26 17:24:22 +10:00