User Tools

Site Tools


novnc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
novnc [2022/10/26 04:47] vissienovnc [2022/10/28 03:18] (current) – [nginx] vissie
Line 8: Line 8:
   http://1.2.3.4/novnc/vnc.html   http://1.2.3.4/novnc/vnc.html
      
- =====nginx===== +=====letsencrypt===== 
-<sxh bash; gutter: false> +  ~/noVNC$sudo ./utils/novnc_proxy --vnc localhost:5900 --listen 443 --ssl-only --cert /etc/letsencrypt/live/me.me.com/cert.pem --key /etc/letsencrypt/live/me.me.com/privkey.pem
- +
-#user http; +
-worker_processes  1; +
- +
-events { +
-    worker_connections  1024; +
-+
- +
-http { +
-    include       mime.types; +
-    default_type  application/octet-stream;                                                                                                                                             +
- +
-    sendfile        on; +
-    #tcp_nopush     on; +
- +
-    #keepalive_timeout  0; +
-    keepalive_timeout  65; +
- +
-    server { +
-    listen 80 default_server; +
- +
-    location +
-      root /www/data; +
-      try_files $uri $uri/index.html; +
-    } +
- +
-    location /novnc/ { +
-      proxy_pass http://127.0.0.1:1234/+
-    } +
- +
-    location /novnc/websockify { +
-      proxy_pass http://127.0.0.1:1234/+
-      proxy_http_version 1.1; +
-      proxy_set_header Upgrade $http_upgrade; +
-      proxy_set_header Connection "Upgrade"; +
-      proxy_set_header Host $host; +
-    } +
- +
-        location = /50x.html { +
-            root   /usr/share/nginx/html; +
-        } +
- +
-    } +
- +
-}  +
-</sxh>+
  
novnc.1666784839.txt.gz · Last modified: 2022/10/26 04:47 by vissie