mirror of
https://github.com/binwiederhier/ntfy.git
synced 2026-05-09 08:26:00 +02:00
[GH-ISSUE #1300] feat - Basic Auth /metrics #919
Labels
No labels
ai-generated
android-app
android-app
android-app
🪲 bug
build
build
dependencies
docs
enhancement
enhancement
🔥 HOT
in-progress 🏃
ios
prio:low
prio:low
pull-request
question
🔒 security
server
server
unified-push
web-app
website
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ntfy#919
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @foucaude on GitHub (Mar 26, 2025).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/1300
💡 Idea
To make /metrics more secure, it would be interesting to add basic auth.
As I have applications on the public Internet, I'd like /metrics information not to be available to everyone.
Node exporter allows this, as do other applications, so you might as well implement it.
@binwiederhier commented on GitHub (May 25, 2025):
You can achieve this via nginx or any other proxy in front of ntfy, or by simply binding the metrics server to localhost via
metrics-listen-http: "localhost:9090". I don't intend to add basic auth support for /metrics