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

14 lines
259 B
Nix
Raw Normal View History

2024-09-26 13:17:35 +02:00
{ lib, config, pkgs, ... }:
{
services = {
nginx.virtualHosts."quack.social" = {
enableACME = true;
forceSSL = true;
locations."/" = {
proxyPass = "http://localhost:3000";
proxyWebsockets = true;
2024-09-26 13:17:35 +02:00
};
};
};
}