mirror of
https://github.com/dw-0/kiauh.git
synced 2025-12-19 22:04:27 +05:00
update: mainsail installation routine
This commit is contained in:
@@ -10,7 +10,9 @@ upstream apiserver {
|
||||
}
|
||||
|
||||
upstream mjpgstreamer {
|
||||
server 127.0.0.1:8080;
|
||||
#edit your webcam port here
|
||||
ip_hash;
|
||||
server 127.0.0.1:8081;
|
||||
}
|
||||
|
||||
server {
|
||||
@@ -84,7 +86,7 @@ server {
|
||||
proxy_set_header X-Scheme $scheme;
|
||||
}
|
||||
|
||||
location /webcam {
|
||||
location /webcam/ {
|
||||
proxy_pass http://mjpgstreamer/;
|
||||
}
|
||||
}
|
||||
9
resources/moonraker.conf
Normal file
9
resources/moonraker.conf
Normal file
@@ -0,0 +1,9 @@
|
||||
[server]
|
||||
host: 0.0.0.0
|
||||
config_path: ~/klipper_config
|
||||
|
||||
[authorization]
|
||||
enabled: true
|
||||
trusted_clients:
|
||||
127.0.0.1
|
||||
192.168.1.0/24
|
||||
Reference in New Issue
Block a user