21 lines
312 B
Nix
21 lines
312 B
Nix
{
|
|
self,
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}: let
|
|
domain = "ai.sondell.org";
|
|
in {
|
|
services.nginx.virtualHosts = {
|
|
${domain} = {
|
|
locations."/" = {
|
|
proxyPass = "http://localhost:9876/";
|
|
proxyWebsockets = true;
|
|
};
|
|
# Use DNS Challenege.
|
|
# acmeRoot = null;
|
|
};
|
|
};
|
|
}
|