Configuration for my NixOS based systems and Home Manager
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix ws events on knot

+9
+9
host-specific/misaki/services.nix
··· 861 861 proxyPass = "http://${config.services.tangled.knot.server.listenAddr}"; 862 862 proxyWebsockets = true; 863 863 }; 864 + locations."/events" = { 865 + proxyPass = "http://${config.services.tangled.knot.server.listenAddr}"; 866 + extraConfig = '' 867 + proxy_set_header X-Forwarded-For $remote_addr; 868 + proxy_set_header Host $host; 869 + proxy_set_header Upgrade $http_upgrade; 870 + proxy_set_header Connection "upgrade"; 871 + ''; 872 + }; 864 873 }; 865 874 virtualHosts."spindle.packetlost.dev" = { 866 875 forceSSL = true;