Adding a first iteration

This commit is contained in:
2025-11-10 18:31:10 +01:00
parent bdbd024996
commit 3852509643
4 changed files with 52 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
:80 {
# Rewrites destination to remove host and include only the path e.g. /test.txt
@hasDest header_regexp dest Destination ^https?://[^/]+(.*)$
request_header @hasDest Destination {re.dest.1}
reverse_proxy booxdav:6065 {
header_up X-Real-IP {remote_host}
header_up REMOTE-HOST {remote_host}
}
}