|
|
@ -113,7 +113,10 @@
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
services.nginx.virtualHosts.${cfg.appDomain} = {
|
|
|
|
services.nginx.virtualHosts.${cfg.appDomain} = {
|
|
|
|
locations."/" = { proxyPass = "http://127.0.0.1:${toString cfg.port}"; };
|
|
|
|
locations."/" = {
|
|
|
|
|
|
|
|
proxyPass = "http://127.0.0.1:${toString cfg.port}";
|
|
|
|
|
|
|
|
proxyWebsockets = true;
|
|
|
|
|
|
|
|
};
|
|
|
|
locations."= /" = { return = "301 /@ashe"; };
|
|
|
|
locations."= /" = { return = "301 /@ashe"; };
|
|
|
|
forceSSL = true;
|
|
|
|
forceSSL = true;
|
|
|
|
enableACME = true;
|
|
|
|
enableACME = true;
|
|
|
|