[PR #1509] [MERGED] Add Ferron reverse proxy example to config.md #1624

Closed
opened 2026-05-07 01:02:57 +02:00 by BreizhHardware · 0 comments

📋 Pull Request Information

Original PR: https://github.com/binwiederhier/ntfy/pull/1509
Author: @mikaeldui
Created: 12/7/2025
Status: Merged
Merged: 12/30/2025
Merged by: @binwiederhier

Base: mainHead: patch-1


📝 Commits (1)

  • 43fe1b9 Add Ferron reverse proxy example

📊 Changes

1 file changed (+30 additions, -0 deletions)

View changed files

📝 docs/config.md (+30 -0)

📄 Description

Added an example for using Ferron as reverse proxy.

// /etc/ferron.kdl	
// Note that this config is most certainly incomplete. Please help out and let me know what's missing
// via Discord/Matrix or in a GitHub issue.
// Note: Ferron automatically handles both HTTP and WebSockets with proxy 

ntfy.sh {
    auto_tls
    auto_tls_letsencrypt_production
    protocols "h1" "h2" "h3"

    proxy "http://127.0.0.1:2586"

    // Redirect HTTP to HTTPS, but only for GET topic addresses, since we want
    // it to work with curl without the annoying https:// prefix
    no_redirect_to_https #true

    condition "is_get_topic" {
        is_equal "{method}" "GET"
        is_regex "{path}" "^/([-_a-z0-9]{0,64}$|docs/|static/)"
    }

    if "is_get_topic" {
          no_redirect_to_https #false
    }
}

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/binwiederhier/ntfy/pull/1509 **Author:** [@mikaeldui](https://github.com/mikaeldui) **Created:** 12/7/2025 **Status:** ✅ Merged **Merged:** 12/30/2025 **Merged by:** [@binwiederhier](https://github.com/binwiederhier) **Base:** `main` ← **Head:** `patch-1` --- ### 📝 Commits (1) - [`43fe1b9`](https://github.com/binwiederhier/ntfy/commit/43fe1b9ad85f4a02139d3c1bf58d23f03f01895f) Add Ferron reverse proxy example ### 📊 Changes **1 file changed** (+30 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `docs/config.md` (+30 -0) </details> ### 📄 Description Added an example for using [Ferron](https://github.com/ferronweb/ferron) as reverse proxy. ```kdl // /etc/ferron.kdl // Note that this config is most certainly incomplete. Please help out and let me know what's missing // via Discord/Matrix or in a GitHub issue. // Note: Ferron automatically handles both HTTP and WebSockets with proxy ntfy.sh { auto_tls auto_tls_letsencrypt_production protocols "h1" "h2" "h3" proxy "http://127.0.0.1:2586" // Redirect HTTP to HTTPS, but only for GET topic addresses, since we want // it to work with curl without the annoying https:// prefix no_redirect_to_https #true condition "is_get_topic" { is_equal "{method}" "GET" is_regex "{path}" "^/([-_a-z0-9]{0,64}$|docs/|static/)" } if "is_get_topic" { no_redirect_to_https #false } } ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
BreizhHardware 2026-05-07 01:02:57 +02:00
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#1624
No description provided.