murex: fix 502 bad gateway

This commit is contained in:
Gabriel Ebner 2019-05-31 19:38:30 +02:00
parent a1842f265f
commit 432bd49810

@ -189,6 +189,10 @@
locations."/" = {
proxyPass = "http://localhost:${toString config.services.octoprint.port}";
proxyWebsockets = true;
# do not cache that octoprint is inaccessible on startup
extraConfig = ''
proxy_cache off;
'';
};
locations."/webcam/".proxyPass = "http://localhost:5050/?action=stream";
locations."/webcampic/".proxyPass = "http://localhost:5050/?action=snapshot";