diff --git a/conf/peertube.caddyfile b/conf/peertube.caddyfile index 608e334..204cd75 100644 --- a/conf/peertube.caddyfile +++ b/conf/peertube.caddyfile @@ -148,12 +148,10 @@ handle @static_downloads { } } -handle { - request_body { - max_size 100KB - } - - reverse_proxy http://127.0.0.1:{$MILLIRONX_PEERTUBE_PORT} { - header_up X-Real-IP {remote_host} - } +request_body { + max_size 100KB +} + +reverse_proxy http://127.0.0.1:{$MILLIRONX_PEERTUBE_PORT} { + header_up X-Real-IP {remote_host} } diff --git a/services/peertube.nix b/services/peertube.nix index d548ea9..89488c9 100644 --- a/services/peertube.nix +++ b/services/peertube.nix @@ -146,7 +146,9 @@ in { }; "${user}" = { - autoStart = true; + # TODO: Once data is migrated from anderson, turn this server to + # autostart true + autoStart = false; containerConfig = { image = "docker.io/chocobozzz/peertube:${peertubeVersion}"; environments = {