Unarchive this repo and big revamp
This commit is contained in:
18
README.md
18
README.md
@@ -2,25 +2,17 @@
|
||||
|
||||
This is just a Systemd service unit for [WebSSH](https://github.com/huashengdun/webssh) web app.
|
||||
|
||||
Following the release of version 1.6.2, we now install it in an applicative container
|
||||
[directly from PIP](https://github.com/huashengdun/webssh#quickstart).
|
||||
|
||||
### 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";
|
||||
}
|
||||
```
|
||||
For this service to be correctly accessed through reverse proxy, you need specific parameters. See
|
||||
[official documentation](https://github.com/huashengdun/webssh#deployment).
|
||||
|
||||
### TODO
|
||||
* RAS
|
||||
|
||||
Reference in New Issue
Block a user