nixos-config/modules/services/sharkey-proxy.nix
2024-12-19 18:18:50 +01:00

13 lines
240 B
Nix

{ ... }:
{
services = {
nginx.virtualHosts."quack.social" = {
enableACME = true;
forceSSL = true;
locations."/" = {
proxyPass = "http://localhost:3000";
proxyWebsockets = true;
};
};
};
}