Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Nginx rules collisions on hosts that support http(s) traffic on port 80/443

未关闭
#469 0 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

维护者通常 1 天内回复

@LDiazN 已经在做这个了。

开始于 2026年7月29日。

评估

这个 Issue 还没有评估数据。

描述

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

主要语言
HCL
星标
4
派生
15
平均合并
3 天 1 小时
30 天内合并 PR
9

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

ooni/devops 的其他 Issue

查看 ooni/devops 的全部 Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。