| | 133 | |
| | 134 | == Access Mumble via the web == |
| | 135 | |
| | 136 | You can now access mumble via the web: |
| | 137 | |
| | 138 | https://mumble.mayfirst.org/?address=mumble.mayfirst.org&port=443/mumble |
| | 139 | |
| | 140 | The following steps were taken to make this possible: |
| | 141 | |
| | 142 | * `websockify` was installed via apt-get. I added a user websockify and the following systemd file in /etc/systemd/system/websockify.service: |
| | 143 | {{{ |
| | 144 | [Unit] |
| | 145 | Description=Websockify provides a wss communications layer between the web client and mumble. |
| | 146 | |
| | 147 | [Service] |
| | 148 | ExecStart=/usr/bin/websockify --ssl-target 64737 localhost:64738 |
| | 149 | User=websockify |
| | 150 | Group=websockify |
| | 151 | |
| | 152 | [Install] |
| | 153 | WantedBy=multi-user.target |
| | 154 | }}} |
| | 155 | * I created a mumble-web user |
| | 156 | * I installed the latest stable releases of node/npm via the [https://nodejs.org/en/ upstream web site] and unpacked them in /home/mumble-web/bin |
| | 157 | * I created a /srv/mumble-web directory and symlinked to /home/mumble-web/mumble-web |
| | 158 | * I ran `git clone https://github.com/johni0702/mumble-web /srv/mumble-web/` followed by `cd mumble-web` and `npm install` and `npm run build` |
| | 159 | * I added an nginx configuration file. |