You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: container/README.md
+44-7Lines changed: 44 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -111,7 +111,12 @@ docker run -it \
111
111
```
112
112
113
113
## NGINX Proxy
114
-
The container also includes a nginx proxy running by default. This aggreggates the http and websockets ports into one port at 3000 (inside the container). It also makes it possible to further reverse proxy the application and add TLS encryption
114
+
The container also includes a nginx proxy running by default. This aggreggates the http and websockets ports into one port at 3000 (inside the container). It also makes it possible to further reverse proxy the application and add TLS encryption.
115
+
116
+
**Encrypted connection is mandatory**if WLJS Notebook is hosted on a remote server, otherwise some features will not work due to the restrictions of the unsequred context such as:
117
+
- Export to interactive HTML
118
+
- Audio/Video input
119
+
- Clipboard access
115
120
116
121
### TLS proxy config
117
122
@@ -149,6 +154,44 @@ server {
149
154
150
155
Make sure to change port mapping from `80:3000` to `3000:3000`in the starting sequence if you start nginx TLS proxy outside the container
151
156
157
+
#### Note: if you do not have SSL certificate
158
+
It is still worth to use HTTPS with invalid certificate since you can always bypass all checks in any web browser. Here is an example of NGINX configuration:
0 commit comments