Moving configuration files into their own directory
This commit is contained in:
@@ -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}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
directory: /data
|
||||
permissions: none
|
||||
users:
|
||||
- username: "{env}BOOXDAV_USERNAME"
|
||||
password: "{env}BOOXDAV_PASSWORD"
|
||||
permissions: CRUD
|
||||
|
||||
Reference in New Issue
Block a user