Generated configs out of the repo: *.example.* templates only; configure.py refuses to apply over CHANGEME placeholders
A deploy copied mediamtx.yml (template) over the server's generated file and the next apply wiped all streamers. Generated files are now gitignored so scp -r cannot clobber them. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
29
Caddyfile.example
Normal file
29
Caddyfile.example
Normal file
@@ -0,0 +1,29 @@
|
||||
media.example.com {
|
||||
encode zstd gzip
|
||||
|
||||
# dump endpoint (python service on the host, does its own auth)
|
||||
handle /dump* {
|
||||
reverse_proxy 127.0.0.1:8080
|
||||
}
|
||||
|
||||
# Syncthing admin UI (its own login; strip the prefix, present a local Host to pass its host check)
|
||||
redir /sync /sync/ 308
|
||||
handle_path /sync/* {
|
||||
reverse_proxy 127.0.0.1:8384 {
|
||||
header_up Host {upstream_hostport}
|
||||
}
|
||||
}
|
||||
|
||||
# OBS browser dock (static)
|
||||
handle_path /dock* {
|
||||
root * /srv/dock
|
||||
file_server
|
||||
}
|
||||
|
||||
# everything else is copyparty (web UI + WebDAV)
|
||||
handle {
|
||||
reverse_proxy 127.0.0.1:3923 {
|
||||
flush_interval -1
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user