diff --git a/docs/development-shell.md b/docs/development-shell.md index eaeb84f..5628d57 100644 --- a/docs/development-shell.md +++ b/docs/development-shell.md @@ -3,7 +3,7 @@ Clone this repository: ``` -git clone gitea@git.pub.solar:pub-solar/infra.git +git clone https://git.pub.solar/pub-solar/infra-new.git ``` then, install [the package manager nix](https://nixos.org/download). diff --git a/hosts/nachtigall/apps/forgejo.nix b/hosts/nachtigall/apps/forgejo.nix index 187b969..e18d276 100644 --- a/hosts/nachtigall/apps/forgejo.nix +++ b/hosts/nachtigall/apps/forgejo.nix @@ -25,7 +25,12 @@ return 302 /user/oauth2/keycloak; ''; - locations."/".proxyPass = "http://127.0.0.1:3000"; + locations."/" = { + proxyPass = "http://127.0.0.1:3000"; + extraConfig = '' + client_max_body_size 1G; + ''; + }; }; services.gitea = { diff --git a/hosts/nachtigall/apps/owncast.nix b/hosts/nachtigall/apps/owncast.nix index a79438e..76296da 100644 --- a/hosts/nachtigall/apps/owncast.nix +++ b/hosts/nachtigall/apps/owncast.nix @@ -8,7 +8,10 @@ services.nginx.virtualHosts."stream.pub.solar" = { enableACME = true; forceSSL = true; - locations."/".proxyPass = "http://127.0.0.1:5000"; + locations."/" = { + proxyPass = "http://127.0.0.1:5000"; + proxyWebsockets = true; + }; }; # Owncast diff --git a/hosts/nachtigall/default.nix b/hosts/nachtigall/default.nix index 067b5a5..4780506 100644 --- a/hosts/nachtigall/default.nix +++ b/hosts/nachtigall/default.nix @@ -16,6 +16,7 @@ ./apps/mailman.nix ./apps/mastodon.nix ./apps/nextcloud.nix + ./apps/owncast.nix ./apps/nginx-mastodon.nix ./apps/nginx-mastodon-files.nix ./apps/nginx-website.nix