[mod] caddyfile

This commit is contained in:
Andy Bunce 2023-06-14 11:14:18 +01:00
parent 57471752e0
commit c4b9604367

View file

@ -7,7 +7,7 @@
} }
# Physical # Physical
(omv) { (omv) {
reverse_proxy 192.168.1.6:{args.0} reverse_proxy 192.168.1.6:{args.0}
} }
(n2) { (n2) {
@ -90,8 +90,11 @@ quodatum.duckdns.org {
@warden host warden.quodatum.duckdns.org @warden host warden.quodatum.duckdns.org
handle @warden { handle @warden {
import auth_quodatum import auth_quodatum
reverse_proxy 0.0.0.0:8882 tls bunce.andy@gmail.com
reverse_proxy /notifications/hub 0.0.0.0:3012 reverse_proxy /notifications/hub 192.168.1.5::3012
reverse_proxy 192.168.1.5::8882 {
header_up X-Real-IP {remote_host}
}
} }
@nextcloud host nextcloud.quodatum.duckdns.org @nextcloud host nextcloud.quodatum.duckdns.org
@ -180,8 +183,8 @@ xu4.local {
root * links root * links
file_server browse file_server browse
} }
warden.local { warden.local:443 {
tls internal tls bunce.andy@gmail.com
reverse_proxy localhost:8882 reverse_proxy 192.168.1.5::8882
reverse_proxy /notifications/hub localhost:3012 reverse_proxy /notifications/hub 192.168.1.5:3012
} }