Go to file
2023-07-28 11:42:10 +02:00
.gitignore Initial commit 2022-08-19 13:11:27 +02:00
install.sh Set install script to new run_directory norm 2022-09-22 18:57:24 +02:00
README.md Add nginx conf to README 2023-07-28 11:42:10 +02:00
variables.conf.template Initial commit 2022-08-19 13:11:27 +02:00
webssh.service Simplify WebSSH path placeholder and fix typo 2022-08-19 13:22:42 +02:00

WebSSH service unit

This is just a Systemd service unit for WebSSH web app.

Files

  • webssh.service is a Systemd units template for WebSSH.

Installation

  • install.sh script copies the Systemd template to its destination, with the correct path (set in variables.conf).

Note

For this service to be correctly accessed through reverse proxy, you need the following parameters (Nginx example):

location / {
  proxy_pass                            http://localhost:8000/;
  proxy_http_version                    1.1;
  proxy_set_header Upgrade              $http_upgrade;
  proxy_set_header Connection           "Upgrade";
  proxy_set_header Host                 $http_host;
  proxy_set_header X-Real-IP            $remote_addr;
  proxy_set_header X-Real-PORT          $remote_port;
  add_header Strict-Transport-Security  "max-age=31536000; includeSubDomains";
}

TODO

  • RAS