athens/nix/modules/akkoma/nginx.nix
2024-12-07 20:46:15 -05:00

16 lines
285 B
Nix

_: {
services.nginx = {
enable = true;
virtualHosts = {
"walkah.social" = {
forceSSL = true;
enableACME = true;
locations."/" = {
proxyPass = "http://127.0.0.1:4000";
proxyWebsockets = true;
};
};
};
};
}