From 70023cafcdc3f094b0e5c66d253dca0e0a0a43d2 Mon Sep 17 00:00:00 2001 From: Cracker Date: Fri, 9 Feb 2018 01:14:44 +0100 Subject: [PATCH 1/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b203f17..08f3242 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # whiteboard -This is a lightweight NodeJS collaborative Whiteboard witch can easily be customized... +This is a lightweight NodeJS collaborative Whiteboard/Sketchboard witch can easily be customized... ![start](https://raw.githubusercontent.com/cracker0dks/whiteboard/master/doc/start.png) From 6a39fd5e3fdbd38d022fdb4e6240a7094ebc8511 Mon Sep 17 00:00:00 2001 From: Cracker Date: Fri, 9 Feb 2018 01:32:34 +0100 Subject: [PATCH 2/2] Update README.md --- README.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/README.md b/README.md index 08f3242..768aeda 100644 --- a/README.md +++ b/README.md @@ -43,4 +43,26 @@ Call your site with GET parameters to change the WhiteboardID or the Username ## ToDo * Add feedback for errors and things ... +## Nginx Reverse Proxy configuration +Add this to your server part: +``` + location /whiteboard/ { + proxy_set_header HOST $host; + proxy_http_version 1.1; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection upgrade; + proxy_pass http://YOURIP:8080/; + } +``` +To run it at /whiteboard. Don't forget to change -> YOURIP! + +## Nextcloud integration +1. Install this app on your server +2. Enable and go to "external sites" on your Nextcloud +2. Add Link to your server: `https://YOURIP/whiteboard/?whiteboardid=WHITEBOARDNAME&username={uid}` +You can give each group its own whiteboard by changeing the WHITEBOARDNAME in the URL if you want. + +Note: You might have to serv the app with https (If your nextcloud server runs https). To do so, its recommend to run this app behind a reverse proxy. (as shown above) + + ___ MIT License ___