Skip to content

Commit dadcb7c

Browse files
edorainkyteinsky
andauthored
feat(readme): add an example using Cloudflare tunneling (#70)
* Sharing an example using Cloudflare tunneling I couldn't find any other guide or advice any where about using Cloudflare tunneling. After I kept hitting 404 heartbeat failure when test deploy, retried many times to eventually found out this is the critical configuration I missed in my setup. Signed-off-by: edorain <[email protected]> * fix: move images in a new folder "assets" Signed-off-by: Anupam Kumar <[email protected]> --------- Signed-off-by: edorain <[email protected]> Signed-off-by: Anupam Kumar <[email protected]> Co-authored-by: Anupam Kumar <[email protected]>
1 parent ed85997 commit dadcb7c

File tree

5 files changed

+16
-0
lines changed

5 files changed

+16
-0
lines changed

.gitattributes

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,6 @@
66

77
# Denote all files that are truly binary and should not be modified
88
*.gz binary
9+
10+
# Images
11+
assets/* binary

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,13 @@ http:
123123
124124
> **Note:** Replace `127.0.0.1` with the actual IP address of your HaRP container if it is running on a different host.
125125

126+
### Cloudflare Tunneling Example
127+
![cloudflare-tunnel-1](assets/cloudflare-tunnel-1.png)
128+
129+
![cloudflare-tunnel-2](assets/cloudflare-tunnel-2.png)
130+
131+
> **Note:** The order of the routes matters, move the `exapp/*` route above your Nextcloud's main route.
132+
126133
---
127134

128135
## Environment Variables

REUSE.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,9 @@ precedence = "closest"
2020
SPDX-FileCopyrightText = "Fatedier <[email protected]>"
2121
SPDX-License-Identifier = "Apache-2.0"
2222
comment = "Files originally taken from https://github.com/fatedier/frp"
23+
24+
[[annotations]]
25+
path = ["assets/cloudflare-tunnel-1.png", "assets/cloudflare-tunnel-2.png"]
26+
precedence = "aggregate"
27+
SPDX-FileCopyrightText = "2025 @edorain"
28+
SPDX-License-Identifier = "AGPL-3.0-or-later"

assets/cloudflare-tunnel-1.png

129 KB
Loading

assets/cloudflare-tunnel-2.png

7.95 KB
Loading

0 commit comments

Comments
 (0)