athens/nix/modules/akkoma/nginx.nix

16 lines
285 B
Nix
Raw Normal View History

2024-12-07 20:46:15 -05:00
_: {
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;
};
};
};
};
}