athens/modules/akkoma/nginx.nix

17 lines
285 B
Nix
Raw Normal View History

2023-03-18 23:40:44 -04:00
_:
{
services.nginx = {
enable = true;
virtualHosts = {
"walkah.social" = {
forceSSL = true;
enableACME = true;
locations."/" = {
proxyPass = "http://127.0.0.1:4000";
proxyWebsockets = true;
};
};
};
};
}