server-configuration/services/website.nix
2025-03-04 00:39:43 +01:00

17 lines
267 B
Nix

{
fetchFromGitLab,
pkgs,
...
}: let
host = "127.0.0.1";
port = 8080;
in {
services.nginx.virtualHosts."spoodythe.one" = {
enableACME = true;
forceSSL = true;
locations."/" = {
proxyPass = "http://${host}:${toString port}";
};
};
}