diff --git a/hosts/web/webserver.nix b/hosts/web/webserver.nix index 8928f4b..0f2371d 100644 --- a/hosts/web/webserver.nix +++ b/hosts/web/webserver.nix @@ -24,8 +24,8 @@ in encode gzip reverse_proxy http://localhost:8080 } - https://search.atlanticaweb.fr { - reverse_proxy http://localhost:5000 + https://bin.atlanticaweb.fr { + reverse_proxy http://localhost:8081 } atlanticaweb.fr { root * /srv/www/atlanticaweb.fr @@ -62,6 +62,18 @@ in }; users.groups.caddy.gid = config.ids.uids.caddy; - services.jellyfin.enable = true; - services.shiori.enable = true; + services = { + jellyfin.enable = true; + shiori.enable = true; + microbin = { + enable = true; + settings = { + MICROBIN_PORT = 8081; + MICROBIN_NO_LISTING = true; + MICROBIN_ENABLE_BURN_AFTER = true; + MICROBIN_QR = true; + MICROBIN_PUBLIC_PATH = "https://bin.atlanticaweb.fr"; + }; + }; + }; }