This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
novnc [2022/10/26 04:47] – vissie | novnc [2022/10/28 03:18] (current) – [nginx] vissie | ||
---|---|---|---|
Line 8: | Line 8: | ||
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:1234/; | + | |
- | } | + | |
- | + | ||
- | location | + | |
- | proxy_pass http://127.0.0.1:1234/; | + | |
- | proxy_http_version 1.1; | + | |
- | proxy_set_header Upgrade $http_upgrade; | + | |
- | proxy_set_header Connection " | + | |
- | proxy_set_header Host $host; | + | |
- | } | + | |
- | + | ||
- | location = /50x.html { | + | |
- | root / | + | |
- | } | + | |
- | + | ||
- | } | + | |
- | + | ||
- | } | + | |
- | </ | + | |