nix machine / user configurations

fix: correct annoy path handling

ptr.pet e6695472 89cf7961

verified
Changed files
+7 -1
hosts
wolumonde
modules
+7 -1
hosts/wolumonde/modules/blog.nix
···
rewrite ^/annoy/ws/(.*) /$1 break;
'';
};
-
locations."/annoy/ws".return = "301 /annoy/ws/";
+
locations."/annoy/ws" = {
+
proxyWebsockets = true;
+
proxyPass = "http://100.64.0.1:3111/";
+
extraConfig = ''
+
rewrite ^/annoy/ws(.*) /$1 break;
+
'';
+
};
};
services.nginx.virtualHosts."poor.dog" = {
locations."/".return = "301 https://gaze.systems$request_uri";