Set up Microbin

This commit is contained in:
2025-04-29 14:27:02 +02:00
parent 42df5964f1
commit 28399165fc
5 changed files with 19 additions and 0 deletions

View File

@@ -12,7 +12,15 @@
adminCredentialsFile = config.age.secrets.miniflux.path;
};
# Microbin configuration
services.microbin = {
enable = true;
passwordFile = config.age.secrets.microbin.path;
settings = {
MICROBIN_PORT = 9091;
MICROBIN_PUBLIC_PATH = "https://bin.psydnd.org";
MICROBIN_QR = true;
MICROBIN_WIDE = true;
};
};

View File

@@ -171,6 +171,11 @@
forceSSL = true;
locations."/".proxyPass = "http://localhost:9090/";
};
"bin.psydnd.org" = {
useACMEHost = "psydnd.org";
forceSSL = true;
locations."/".proxyPass = "http://localhost:9091/";
};
};
};