Nginx rules collisions on hosts that support http(s) traffic on port 80/443
Los mantenedores suelen responder en 1 día
@LDiazN ya está trabajando en esto.
Desde el 29/7/2026.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
The Prometheus node exporter role we use for setting up monitoring on all of our hosts creates an nginx config that sometimes collides with other things also deployed in that host, usually when they support traffic on port 443/80.
This is due to the fact that the node exporter role uses the inventory_hostname to fill in the nginx config, but maybe the hostname used for monitoring is not the one used for something else. Example: notebook.ooni.org is usually used for actually using the jupyter notebook server. notebook1.htz-fns.prod.ooni.nu on the other hand is used for monitoring
The result is that two Nginx server blocks are created for the same port and nginx ignores one of them
The task is to find a way to fix the address used for monitoring on a host regardless of how it's called when running the ansible command. This can be done by changing the node exporter port or setting a different domain for the same host
- Lenguaje dominante
- HCL
- Estrellas
- 4
- Forks
- 15
- Merge medio
- 3 d 1 h
- PR fusionados (30 d)
- 9
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de ooni/devops
-
Dificultad 3/5 1-2 días Aptitud para principiantes 58/100
Los mantenedores suelen responder en 1 día
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
Los mantenedores suelen responder en 1 día
-
Dificultad 3/5 1-2 días Aptitud para principiantes 48/100
Los mantenedores suelen responder en 1 día
-
Dificultad 3/5 1-2 días Aptitud para principiantes 55/100
Los mantenedores suelen responder en 1 día