17 lines
267 B
Nix
Executable file
17 lines
267 B
Nix
Executable file
{
|
|
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}";
|
|
};
|
|
};
|
|
}
|