152 lines
2.9 KiB
Caddyfile
Executable File
152 lines
2.9 KiB
Caddyfile
Executable File
# =============================================================
|
|
# Caddy Reverse Proxy - hanold.online
|
|
# =============================================================
|
|
|
|
# --- Homelab Blog ---
|
|
web.hanold.online {
|
|
reverse_proxy 192.168.178.183:9080
|
|
}
|
|
|
|
# --- FreshRSS ---
|
|
freshrss-app.hanold.online {
|
|
reverse_proxy 192.168.178.183:9280
|
|
}
|
|
|
|
# --- Vaultwarden ---
|
|
vaultwarden-app.hanold.online {
|
|
reverse_proxy 192.168.178.183:9445
|
|
}
|
|
|
|
# --- Home Assistant ---
|
|
homeassistant-app.hanold.online {
|
|
reverse_proxy 192.168.178.200:8123 {
|
|
header_up Host {host}
|
|
}
|
|
}
|
|
|
|
# --- Paperless ---
|
|
paperless-app.hanold.online {
|
|
reverse_proxy 192.168.178.183:9800
|
|
}
|
|
|
|
# --- Gotify ---
|
|
gotify-app.hanold.online {
|
|
reverse_proxy 192.168.178.183:9085 {
|
|
header_up Host {host}
|
|
transport http {
|
|
dial_timeout 60s
|
|
response_header_timeout 60s
|
|
read_timeout 60s
|
|
}
|
|
}
|
|
}
|
|
|
|
# --- iGotify ---
|
|
igotify-app.hanold.online {
|
|
reverse_proxy 192.168.178.183:9681 {
|
|
header_up Host {host}
|
|
transport http {
|
|
dial_timeout 60s
|
|
response_header_timeout 60s
|
|
read_timeout 60s
|
|
}
|
|
}
|
|
}
|
|
|
|
# --- Chatbot ---
|
|
chatbot-app.hanold.online {
|
|
reverse_proxy 192.168.178.215:9009
|
|
}
|
|
|
|
## --- n8n (Webhook auf separatem Port) ---
|
|
#n8n-app.hanold.online {
|
|
# handle /webhook* {
|
|
# reverse_proxy 192.168.178.183:64000
|
|
# }
|
|
# handle {
|
|
# reverse_proxy 192.168.178.183:9789
|
|
# }
|
|
#}
|
|
# --- n8n ---
|
|
n8n-app.hanold.online {
|
|
handle /webhook* {
|
|
@internal {
|
|
remote_ip 192.168.178.0/24
|
|
}
|
|
reverse_proxy @internal 192.168.178.183:64000
|
|
respond "Access denied" 403
|
|
}
|
|
handle {
|
|
reverse_proxy 192.168.178.183:9789
|
|
}
|
|
}
|
|
|
|
## --- Pulse ---
|
|
#pulse-app.hanold.online {
|
|
# reverse_proxy 192.168.178.183:9655
|
|
#}
|
|
|
|
# --- Pulse ---
|
|
pulse-app.hanold.online {
|
|
reverse_proxy 192.168.178.183:9655 {
|
|
header_up Host {host}
|
|
header_up X-Real-IP {remote_host}
|
|
}
|
|
}
|
|
|
|
# --- Nextcloud (Collabora unter /coolwsd/) ---
|
|
nextcloud-app.hanold.online {
|
|
handle /coolwsd/* {
|
|
reverse_proxy 192.168.178.183:9380
|
|
}
|
|
handle {
|
|
reverse_proxy 192.168.178.183:9180
|
|
}
|
|
}
|
|
|
|
# --- Navidrome ---
|
|
navidrome-app.hanold.online {
|
|
reverse_proxy 192.168.178.183:9533
|
|
}
|
|
|
|
# --- Music Assistant ---
|
|
musicassistant-app.hanold.online {
|
|
reverse_proxy 192.168.178.200:8095
|
|
}
|
|
|
|
# --- BookStack (Authorization-Header Fix) ---
|
|
bookstack-app.hanold.online {
|
|
reverse_proxy 192.168.178.183:9345 {
|
|
header_up Host {host}
|
|
header_up Authorization {http.request.header.Authorization}
|
|
}
|
|
}
|
|
|
|
# --- Gitea Test (hanold.info) ---
|
|
gitea-test.hanold.info {
|
|
reverse_proxy 192.168.178.241:9876
|
|
}
|
|
|
|
# --- Collabora (direkt) ---
|
|
collabora-app.hanold.online {
|
|
reverse_proxy 192.168.178.183:9380
|
|
}
|
|
|
|
# --- Immich ---
|
|
immich-app.hanold.online {
|
|
reverse_proxy 192.168.178.183:9283
|
|
}
|
|
|
|
# --- BookStack Test ---
|
|
bs-test.hanold.online {
|
|
reverse_proxy 192.168.178.241:9345 {
|
|
header_up Host {host}
|
|
header_up Authorization {http.request.header.Authorization}
|
|
}
|
|
}
|
|
|
|
# --- bookstax.app ---
|
|
web.bookstax.app {
|
|
reverse_proxy 192.168.178.183:9100
|
|
}
|