From 4d804b08d7971a18f5c23052de300f78a7dba399 Mon Sep 17 00:00:00 2001 From: Alexandre LUCAZEAU Date: Thu, 28 Dec 2023 18:11:02 +0000 Subject: [PATCH] ADD microbin service --- hosts/web/webserver.nix | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) 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"; + }; + }; + }; }