klipper: ensure to proxy_pass as subdirectories of fluidd
This commit is contained in:
parent
e39bdff2a4
commit
6d1a5bdd3b
2configs/home/3dprint
|
@ -19,7 +19,8 @@
|
|||
services.fluidd.enable = true;
|
||||
services.fluidd.hostName = "fluidd.lan";
|
||||
|
||||
services.fluidd.nginx.locations."/webcam".proxyPass = "http://127.0.0.1:8080/stream";
|
||||
services.fluidd.nginx.locations."/webcam_stream".proxyPass = "http://127.0.0.1:5050/?action=stream";
|
||||
services.fluidd.nginx.locations."/webcam_snapshot".proxyPass = "http://127.0.0.1:5050/?action=snapshot";
|
||||
services.nginx.clientMaxBodySize = "1000m";
|
||||
|
||||
services.klipper = {
|
||||
|
|
|
@ -9,7 +9,7 @@ in
|
|||
#inputPlugin = "input_uvc.so -d ${dev} -r 1280x960";
|
||||
inputPlugin = "input_uvc.so -y -d ${dev} -r 640x480 -f 5"; # ps eyecam
|
||||
|
||||
# outputPlugin = "output_http.so -w @www@ -n -p 18088";
|
||||
# outputPlugin = "output_http.so -w @www@ -n -p 5050";
|
||||
};
|
||||
|
||||
services.udev.extraRules = ''
|
||||
|
|
Loading…
Reference in a new issue