[GH-ISSUE #1023] I cannot restrict public access to my ntfy docker instance. #716

Closed
opened 2026-05-07 00:26:51 +02:00 by BreizhHardware · 3 comments

Originally created by @nikolaos83 on GitHub (Feb 10, 2024).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/1023

I'm not sure if this is a bug or I'm doing something dumb but I cannot restrict public access to my ntfy docker instance.

I tried passing the NTFY_AUTH_DEFAULT_ACCESS: deny-all as an environment variable. I tried editing the server.yml. Nothing works. I checked my edits in the container, they are there but the server somehow doesn't restrict access to the public.

I'll restrict public access using a VPN for now but I'd really like to understand what's going on.

Originally created by @nikolaos83 on GitHub (Feb 10, 2024). Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/1023 I'm not sure if this is a bug or I'm doing something dumb but I cannot restrict public access to my ntfy docker instance. I tried passing the NTFY_AUTH_DEFAULT_ACCESS: deny-all as an environment variable. I tried editing the server.yml. Nothing works. I checked my edits in the container, they are there but the server somehow doesn't restrict access to the public. I'll restrict public access using a VPN for now but I'd really like to understand what's going on.
Author
Owner

@wunter8 commented on GitHub (Feb 10, 2024):

The Discord channel is better for troubleshooting issues like this

<!-- gh-comment-id:1937091913 --> @wunter8 commented on GitHub (Feb 10, 2024): The Discord channel is better for troubleshooting issues like this
Author
Owner

@wunter8 commented on GitHub (Feb 10, 2024):

Does this FAQ answer your question, though? https://docs.ntfy.sh/faq/#can-i-disable-the-web-app-can-i-protect-it-with-a-login-screen

<!-- gh-comment-id:1937336564 --> @wunter8 commented on GitHub (Feb 10, 2024): Does this FAQ answer your question, though? https://docs.ntfy.sh/faq/#can-i-disable-the-web-app-can-i-protect-it-with-a-login-screen
Author
Owner

@nikolaos83 commented on GitHub (Feb 11, 2024):

Oh? Yes, that surely answers my concerns. I had just deployed ntfy and never had time to understand how it worked.

Thank you!

<!-- gh-comment-id:1937368130 --> @nikolaos83 commented on GitHub (Feb 11, 2024): Oh? Yes, that surely answers my concerns. I had just deployed ntfy and never had time to understand how it worked. Thank you!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ntfy#716
No description provided.