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

12 lines
227 B
Nix

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