initial pfannkuchen
This commit is contained in:
parent
b6dafc7a73
commit
4d305fa19f
99 changed files with 3575 additions and 321 deletions
69
caddy
Normal file
69
caddy
Normal file
|
|
@ -0,0 +1,69 @@
|
|||
{
|
||||
metrics
|
||||
admin :2019
|
||||
log {
|
||||
output file /var/log/caddy/caddy_main.log {
|
||||
roll_size 100MiB
|
||||
roll_keep 5
|
||||
roll_keep_for 100d
|
||||
}
|
||||
format json
|
||||
level INFO
|
||||
}
|
||||
}
|
||||
|
||||
(emby_config) {
|
||||
log {
|
||||
output file "/var/log/caddy/{args[0]}.log" {
|
||||
roll_size 100MiB
|
||||
roll_keep 5
|
||||
roll_keep_for 100d
|
||||
}
|
||||
format json
|
||||
}
|
||||
@compress {
|
||||
header Content-Type text/*
|
||||
header Content-Type application/json*
|
||||
header Content-Type application/javascript*
|
||||
header Content-Type image/svg+xml
|
||||
}
|
||||
encode @compress zstd gzip
|
||||
reverse_proxy {args[1]} {
|
||||
flush_interval 10s
|
||||
header_up X-Accel-Buffering "no"
|
||||
}
|
||||
header {
|
||||
Access-Control-Allow-Origin *
|
||||
Cache-Control "no-cache, no-transform"
|
||||
defer
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
tunnel.sascha-lutz.de {
|
||||
@wst {
|
||||
path /5bb8a961812d2f966e09b2825635a1a1007a283083877ae7873ebda99c514ec7/events
|
||||
header Upgrade websocket
|
||||
header Connection *upgrade*
|
||||
method GET
|
||||
}
|
||||
handle @wst {
|
||||
reverse_proxy tunnel:8080
|
||||
}
|
||||
handle {
|
||||
respond "Not Found" 404
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
tv.sascha-lutz.de {
|
||||
import emby_config tv.sascha-lutz.de 10.6.1.103:8096
|
||||
}
|
||||
|
||||
guck.tv {
|
||||
import emby_config guck.tv 10.7.1.106:8096
|
||||
}
|
||||
|
||||
netzflix.org {
|
||||
import emby_config netzflix.org 10.6.1.112:8096
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue