Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| sailing:wetty [2023/12/18 12:29] – sailor | sailing:wetty [2024/02/27 12:47] (current) – removed willy | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== WeTTY ====== | ||
| - | |||
| - | [[https:// | ||
| - | |||
| - | useradd -m wetty | ||
| - | su - wetty | ||
| - | npm -g i wetty --prefix ~/ | ||
| - | |||
| - | | ||
| - | |||
| - | npm install --save @fortawesome/ | ||
| - | npm i --save @fortawesome/ | ||
| - | npm i --save @fortawesome/ | ||
| - | |||
| - | | ||
| - | | ||
| - | | ||
| - | [ -s " | ||
| - | [ -s " | ||
| - | | ||
| - | | ||
| - | | ||
| - | |||
| - | |||
| - | |||
| - | location /wetty { | ||
| - | proxy_pass https:// | ||
| - | # | ||
| - | proxy_pass_request_headers on; | ||
| - | # | ||
| - | proxy_set_header Host $host; | ||
| - | # | ||
| - | proxy_http_version 1.1; | ||
| - | # | ||
| - | proxy_set_header X-Real-IP $remote_addr; | ||
| - | proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | ||
| - | proxy_set_header X-Forwarded-Proto $scheme; | ||
| - | proxy_set_header X-Forwarded-Protocol $scheme; | ||
| - | proxy_set_header X-Forwarded-Host $http_host; | ||
| - | proxy_set_header X-NginX-Proxy true; | ||
| - | # | ||
| - | proxy_set_header Upgrade $http_upgrade; | ||
| - | proxy_set_header Connection $http_connection; | ||
| - | proxy_read_timeout 43200000; | ||
| - | proxy_set_header X-Forwarded-Ssl on; | ||
| - | # | ||
| - | proxy_redirect off; | ||
| - | proxy_buffering off; | ||
| - | } | ||
| - | |||
| - | |||
| - | running WeTTY result in black screen. Note: [[https:// | ||
| - | |||
| - | |||