docker-nginx-certbot
docker-nginx-certbot copied to clipboard
Config file discovery doesn't work with nested folders
i have a nested setup in user_conf.d/
But only top level conf files are getting recognize.
That is true, the loops looks like this:
for conf_file in /etc/nginx/conf.d/*.conf*; do
done
and
while ; do
done < <(find /etc/nginx/user_conf.d/ -maxdepth 1 -type f -print0)
So it will only do one level. I have not heard of anyone doing multiple layers until now, so if possible could you please explain your usecase a bit more so I can get a better understanding of the feature request?
my setup looks something like this
user_conf.d/
group_a/
a.conf
b.conf
c.conf
group_b/
a.conf
b.conf
c.conf
group_c/
a.conf
b.conf
c.conf
Its more for organization not any technical reason or something
Alright, I am a little bit busy with another project right now so if you feel adventurous I do accept pull requests, otherwise I will take a look at this when I am done with the other stuff :)