Something went wrong. Try again.
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445{ config, inputs, ...}:let domain = "bin.hauleth.dev"; port = "6701"; cfg = config.services.ubin;in{ imports = [ inputs.ubin.nixosModules.default ];
logs.services = [ "ubin" ];
services.ubin = { enable = false;
host = domain; listen = "127.0.0.1:${port}"; schema = "https"; };
# services.nginx.virtualHosts.${domain} = { # forceSSL = true; # enableACME = true; # # locations."/" = { # root = cfg.storage; # proxyPass = "http://127.0.0.1:${port}/"; # # extraConfig = '' # satisfy any; # # limit_except GET { # auth_basic "ubin paste"; # auth_basic_user_file /run/credentials/nginx.service/httpasswd; # } # ''; # }; # };}