[GH-ISSUE #1026] base-url isn't respected #720

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

Originally created by @rayslinky on GitHub (Feb 17, 2024).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/1026

🐞 Describe the bug
I try to set my baseurl to something with a path, ie: https://example.com/ntfy, requests still go to:
/static/css/app.css
/static/css/fonts.css
/config.js [instead of /ntfy/config.js]

💻 Components impacted
ntfy server

Originally created by @rayslinky on GitHub (Feb 17, 2024). Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/1026 :lady_beetle: **Describe the bug** I try to set my baseurl to something with a path, ie: https://example.com/ntfy, requests still go to: /static/css/app.css /static/css/fonts.css /config.js [instead of /ntfy/config.js] :computer: **Components impacted** ntfy server
BreizhHardware 2026-05-07 00:26:52 +02:00
  • closed this issue
  • added the
    🪲 bug
    label
Author
Owner

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

ntfy needs to be served from the root path of a domain (usually a sub domain, such as ntfy.domain.com). Running ntfy at /ntfy isn't supported right now. See https://github.com/binwiederhier/ntfy/issues/398

<!-- gh-comment-id:1949598770 --> @wunter8 commented on GitHub (Feb 17, 2024): ntfy needs to be served from the root path of a domain (usually a sub domain, such as ntfy.domain.com). Running ntfy at /ntfy isn't supported right now. See https://github.com/binwiederhier/ntfy/issues/398
Author
Owner

@eeuak commented on GitHub (Dec 12, 2025):

@wunter8 is it supported to add a port like https://example.com:1234 as the base-url?

<!-- gh-comment-id:3645701778 --> @eeuak commented on GitHub (Dec 12, 2025): @wunter8 is it supported to add a port like https://example.com:1234 as the base-url?
Author
Owner

@wunter8 commented on GitHub (Dec 12, 2025):

@eeuak Yes! Adding a port is fine!

<!-- gh-comment-id:3646418391 --> @wunter8 commented on GitHub (Dec 12, 2025): @eeuak Yes! Adding a port is fine!
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#720
No description provided.