When you try to deploy de clickhouse proxy you might get an error where nginx is unable to start due to a missing dehydrated file (fullchain.pem)
To generate this file, you need to start dehydrated and pass the ACME challenge
But to pass the challenge you need to have nginx running and serving a file, and it begins a circular dependency
Usually the way to solve this manually is to move the prometheus-proxy.conf file (which requires the fullchain.pem) out of /etc/nginx/conf.d , restart nginx, restart dehydrated, move prometheus-proxy.conf back to /etc/nginx/conf.d and reboot nginx again.
We should find a way to set this up in the correct order so that this maneuver is not necessary
When you try to deploy de clickhouse proxy you might get an error where nginx is unable to start due to a missing dehydrated file (
fullchain.pem)To generate this file, you need to start dehydrated and pass the ACME challenge
But to pass the challenge you need to have nginx running and serving a file, and it begins a circular dependency
Usually the way to solve this manually is to move the
prometheus-proxy.conffile (which requires thefullchain.pem) out of/etc/nginx/conf.d, restart nginx, restart dehydrated, moveprometheus-proxy.confback to/etc/nginx/conf.dand reboot nginx again.We should find a way to set this up in the correct order so that this maneuver is not necessary