mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 12:29:19 -08:00
21 lines
500 B
Nix
21 lines
500 B
Nix
_: {
|
|
services.nginx.virtualHosts."vault.kittywit.ch" = {
|
|
enableACME = true;
|
|
forceSSL = true;
|
|
acmeRoot = null;
|
|
locations = {
|
|
"/" = {
|
|
proxyPass = "http://localhost:4000";
|
|
proxyWebsockets = true;
|
|
};
|
|
"/notifications/hub" = {
|
|
proxyPass = "http://localhost:3012";
|
|
proxyWebsockets = true;
|
|
};
|
|
"/notifications/hub/negotiate" = {
|
|
proxyPass = "http://localhost:4000";
|
|
proxyWebsockets = true;
|
|
};
|
|
};
|
|
};
|
|
}
|