User Tools

This is an old revision of the document!


WeTTY

WeTTY it's a web based terminal to your server.

useradd -m wetty su - wetty npm -g i wetty –prefix ~/

./bin/wetty –host 127.0.0.1 –port 5522 –title ServerCasa –base /wetty/

location /wetty {

  proxy_pass https://127.0.0.1:3000/wetty;
  #
  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;

}

This website uses technical cookies only. No information is shared with anybody or used in any way but provide the website in your browser.

More information