nixos/middleman: Fix HedgeDoc websockets

This commit is contained in:
Jack O'Sullivan 2024-01-09 17:35:34 +00:00
parent 39e7c703ba
commit 205a948486

View File

@ -377,7 +377,11 @@ in
}; };
"md.${pubDomain}" = { "md.${pubDomain}" = {
locations."/".proxyPass = "http://object-ctr.${domain}:3000"; locations."/" = {
proxyPass = "http://object-ctr.${domain}:3000";
proxyWebsockets = true;
extraConfig = proxyHeaders;
};
useACMEHost = pubDomain; useACMEHost = pubDomain;
}; };
}; };