Caddyfile hinzugefügt

This commit is contained in:
john 2025-01-24 15:22:23 +00:00
parent 13cca1e75b
commit 97a9624d55
1 changed files with 15 additions and 0 deletions

15
Caddyfile Normal file
View File

@ -0,0 +1,15 @@
jellyfin.your.domain {
@denied not {
client_ip 192.168.178.0/24 # IPv4 range
client_ip fd00::/8 # Common private IPv6 range
}
abort @denied
reverse_proxy http://localhost:8096 {
header_up Host {http.request.host}
header_up X-Real-IP {remote_host}
header_up X-Forwarded-For {remote_host}
header_up X-Forwarded-Proto {scheme}
}
}