From 9152934f9daa275e73b40c5f8d2ada3984c3c416 Mon Sep 17 00:00:00 2001 From: Stefan Dej Date: Mon, 28 Dec 2020 23:59:49 +0100 Subject: [PATCH] update mainsail setup guide Signed-off-by: Stefan Dej --- docs/setup-guide/mainsail.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/setup-guide/mainsail.md b/docs/setup-guide/mainsail.md index 46a3cf54..3007593e 100644 --- a/docs/setup-guide/mainsail.md +++ b/docs/setup-guide/mainsail.md @@ -31,13 +31,13 @@ Each file can be filled with the following content: # /etc/nginx/conf.d/upstreams.conf upstream apiserver { - #edit your api port here + #if you need to change your api port, edit it here ip_hash; server 127.0.0.1:7125; } upstream mjpgstreamer { - #edit your webcam port here + #if you need to change your webcam port, edit it here ip_hash; server 127.0.0.1:8081; } @@ -159,7 +159,7 @@ sudo ln -s /etc/nginx/sites-available/mainsail /etc/nginx/sites-enabled/ sudo service nginx restart ``` -Now you can check again the API if it works with the reverse proxy. Open the url http:///printer/info in your browser. if you see a content like this: +Now you can check again the API if it works with the reverse proxy. Open the url http://\/printer/info in your browser. if you see a content like this: ``` {"result": {"hostname": "voron250", "error_detected": false, "version": "v0.8.0-479-gd586fb06", "is_ready": true, "message": "Printer is ready", "cpu": "4 core ARMv7 Processor rev 4 (v7l)"}}