20 lines
445 B
Nix
20 lines
445 B
Nix
{ ... }: {
|
|
services.nginx.virtualHosts."git.cloonar.com" = {
|
|
forceSSL = true;
|
|
enableACME = true;
|
|
acmeRoot = null;
|
|
locations."/" = {
|
|
proxyPass = "https://git.cloonar.com/";
|
|
};
|
|
};
|
|
services.nginx.virtualHosts."foundry-vtt.cloonar.com" = {
|
|
forceSSL = true;
|
|
enableACME = true;
|
|
acmeRoot = null;
|
|
locations."/" = {
|
|
proxyPass = "http://10.42.97.21:30000";
|
|
proxyWebsockets = true;
|
|
};
|
|
};
|
|
}
|