oauth2 proxy

This commit is contained in:
Henry Hiles 2025-06-22 02:55:01 -04:00
commit 768f6ed3b3
No known key found for this signature in database
8 changed files with 107 additions and 49 deletions

View file

@ -1,7 +1,12 @@
{
{pkgs, ...}: {
services.caddy = {
enable = true;
email = "henry@henryhiles.com";
package = pkgs.caddy.withPlugins {
plugins = ["github.com/ggicci/caddy-jwt@v1.1.0"];
hash = "sha256-sdhX/dAQ7lIxBo/ZW6XYX8SRuacLO9HobtIVKD/cw0o=";
};
};
networking.firewall.allowedTCPPorts = [2222 443 8448]; # Git SSH, HTTPS, and Matrix
}