[GH-ISSUE #318] Self hosted behind NGINX Proxy Manager w/ Cloudflare Origin Certs #249

Closed
opened 2026-05-07 00:22:15 +02:00 by BreizhHardware · 1 comment

Originally created by @pablosed on GitHub (Jun 8, 2022).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/318

Hi,

Hoping to get some help troubleshooting as I have reached the end of my ability to do so on my own.

I am pretty inexperienced with some of the finer points of getting this up and running (am desperate to though, so cool!)

TLDR: Messages are not hitting my selfhosted server.

Running the ntfy server behind Nginx Proxy Manger (NPM) on an Ubuntu 22.04 VM in Proxmox.
Both nslookup & ping show the subdomain is reachable.
SSL is configured using a Cloudflare Origin Certificate.

I cant for the life of me get the server to receive messages via curl (all of my other hosted, exposed services are reachable outside of LAN). Setting Server log level to DEBUG confirms that it is not receiving the messages.

I suspect it is something to do with cloudflare's certs/proxying, and adding custom config to NPM - but this is beyond my pay grade and I haven't found anything useful in GitHub/reddit/website.

Any help/pointers would be much appreciated!

server.yml config:

base-url: "https://medianotify.example.com"
listen-http: ":8090"
cache-file: "/var/cache/ntfy/cache.db"
cache-duration: "12h"
behind-proxy: true
upstream-base-url: "https://ntfy.sh" [planning on using with iOS app - amazing thats live in app store!]
log-level: DEBUG
Originally created by @pablosed on GitHub (Jun 8, 2022). Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/318 Hi, Hoping to get some help troubleshooting as I have reached the end of my ability to do so on my own. I am pretty inexperienced with some of the finer points of getting this up and running (am desperate to though, so cool!) TLDR: Messages are not hitting my selfhosted server. Running the ntfy server behind Nginx Proxy Manger (NPM) on an Ubuntu 22.04 VM in Proxmox. Both nslookup & ping show the subdomain is reachable. SSL is configured using a Cloudflare Origin Certificate. I cant for the life of me get the server to receive messages via curl (all of my other hosted, exposed services are reachable outside of LAN). Setting Server log level to DEBUG confirms that it is not receiving the messages. I suspect it is something to do with cloudflare's certs/proxying, and adding custom config to NPM - but this is beyond my pay grade and I haven't found anything useful in GitHub/reddit/website. Any help/pointers would be much appreciated! server.yml config: ``` base-url: "https://medianotify.example.com" listen-http: ":8090" cache-file: "/var/cache/ntfy/cache.db" cache-duration: "12h" behind-proxy: true upstream-base-url: "https://ntfy.sh" [planning on using with iOS app - amazing thats live in app store!] log-level: DEBUG ```
Author
Owner

@binwiederhier commented on GitHub (Jun 12, 2022):

I'm sorry you're having a hard time. This is not the right place for troubleshooting issues with your setup though. I suggest you either ask in the ntfy chat (https://github.com/binwiederhier/ntfy#chat), or in the selfhosted subreddit.

It is usually helpful to include output from commands you rand that fail, or logs of some kind. Without that, it's pretty much impossible to diagnose these problems.

<!-- gh-comment-id:1153205086 --> @binwiederhier commented on GitHub (Jun 12, 2022): I'm sorry you're having a hard time. This is not the right place for troubleshooting issues with your setup though. I suggest you either ask in the ntfy chat (https://github.com/binwiederhier/ntfy#chat), or in the selfhosted subreddit. It is usually helpful to include output from commands you rand that fail, or logs of some kind. Without that, it's pretty much impossible to diagnose these problems.
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#249
No description provided.