nixos-config/modules/services/sharkey-proxy.nix

13 lines
259 B
Nix

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