]> Untitled Git - awful.systems.git/blobdiff - lemmy/prod/module.nix
docs: add database information
[awful.systems.git] / lemmy / prod / module.nix
index dc24bd703e7a5134d4d32dbe5653ed96ba2ec803..6d99284ff84e18407eba13736dedca0c54af7779 100644 (file)
@@ -159,6 +159,9 @@ in {
       backend = "http://127.0.0.1:${toString cfg.settings.port}";
     in mkIf cfg.nginx.enable {
       enable = mkDefault true;
+      eventsConfig = ''
+        worker_connections 20000;
+      '';
       appendHttpConfig = ''
         map "$request_method:$http_accept" $proxpass {
             # If no explicit matches exists below, send traffic to lemmy-ui