nixos/middleman: Fix HedgeDoc websockets
This commit is contained in:
parent
39e7c703ba
commit
205a948486
@ -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;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user