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