This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| novnc [2022/10/26 04:46] – vissie | novnc [2022/10/28 03:18] (current) – [nginx] vissie | ||
|---|---|---|---|
| Line 5: | Line 5: | ||
| =====Setup===== | =====Setup===== | ||
| x11vnc | x11vnc | ||
| - | ./ | + | ./ |
| http:// | http:// | ||
| | | ||
| - | =====nginx===== | + | =====letsencrypt===== |
| - | <sxh bash; gutter: false> | + | |
| - | + | ||
| - | #user http; | + | |
| - | worker_processes | + | |
| - | + | ||
| - | events { | + | |
| - | worker_connections | + | |
| - | } | + | |
| - | + | ||
| - | http { | + | |
| - | include | + | |
| - | default_type | + | |
| - | + | ||
| - | sendfile | + | |
| - | # | + | |
| - | + | ||
| - | # | + | |
| - | keepalive_timeout | + | |
| - | + | ||
| - | server { | + | |
| - | | + | |
| - | + | ||
| - | location | + | |
| - | root /www/data; | + | |
| - | try_files $uri $uri/ /index.html; | + | |
| - | } | + | |
| - | + | ||
| - | location | + | |
| - | proxy_pass http://127.0.0.1:9900/; | + | |
| - | } | + | |
| - | + | ||
| - | location | + | |
| - | proxy_pass http://127.0.0.1:9900/; | + | |
| - | proxy_http_version 1.1; | + | |
| - | proxy_set_header Upgrade $http_upgrade; | + | |
| - | proxy_set_header Connection " | + | |
| - | proxy_set_header Host $host; | + | |
| - | } | + | |
| - | + | ||
| - | location = /50x.html { | + | |
| - | root / | + | |
| - | } | + | |
| - | + | ||
| - | } | + | |
| - | + | ||
| - | } | + | |
| - | </ | + | |