Commit graph

4 commits

Author SHA1 Message Date
Jonathan Adami
1906c927f1 Make sure that I don't duplicate servers or upstream, if their arguments come in different order they are considered different 2020-04-26 18:32:29 +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
5e0bd6efcb Fix the conf filename 2020-04-26 17:48:03 +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