by Steltek · 4y ago · 0 comments
I never got around to it and my current method of automatically generating nginx.conf from a JSON file has a few tricks left, I guess. I guess one additional problem is that I have few things stacked up on a domain and under different "location" entries.
Traefik does this :) That’s what I’m using for my personal server - one traefik instance, a wildcard DNS entry, and then a docker container named “foo” is reachable at https://foo.shish.io
I’m not sure there’s an easier solution though.
And then only the per-container settings need to be set in the dynamic config using container labels
Never bothered to upgrade my config because it still works.