29 lines
718 B
Nix
29 lines
718 B
Nix
{ config, lib, ... }: {
|
|
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://${config.networkPrefix}.97.21:30000";
|
|
proxyWebsockets = true;
|
|
};
|
|
};
|
|
services.nginx.virtualHosts."sync.cloonar.com" = {
|
|
forceSSL = true;
|
|
enableACME = true;
|
|
acmeRoot = null;
|
|
locations."/" = {
|
|
proxyPass = "http://${config.networkPrefix}.97.6:80";
|
|
proxyWebsockets = true;
|
|
};
|
|
};
|
|
}
|