|
|
### Create plugins directory
|
|
|
```
|
|
|
sudo mkdir -p /usr/share/privmx-team-server/app/plugins
|
|
|
```
|
|
|
|
|
|
### Unzip webui plugin zip
|
|
|
```
|
|
|
unzip privmx-team-server-webui-plugin-1.49.5-with-webapp-24.6.zip -d /usr/share/privmx-team-server/app/plugins
|
|
|
```
|
|
|
|
|
|
### Configure plugin
|
|
|
Edit `/etc/privmx-team-server/config.json` file, in `app` section add:
|
|
|
```
|
|
|
"webAccessEnabled": true
|
|
|
```
|
|
|
and add `webui` section:
|
|
|
```
|
|
|
"webui": {
|
|
|
"privmxWebDir": "/usr/share/privmx-team-server/app/plugins/webui/assets"
|
|
|
}
|
|
|
```
|
|
|
After editing your configuration file should look like this:
|
|
|
```
|
|
|
{
|
|
|
"domain": "example.com",
|
|
|
"server": {
|
|
|
"port": 80,
|
|
|
"ssl": {
|
|
|
"enabled": false,
|
|
|
"port": 443,
|
|
|
"privKeyPath": "/etc/privmx-team-server/cert/server.key",
|
|
|
"certificatePath": "/etc/privmx-team-server/cert/server.crt"
|
|
|
}
|
|
|
},
|
|
|
"app": {
|
|
|
"instanceName": "MyCompany",
|
|
|
"webAccessEnabled": true
|
|
|
},
|
|
|
"webui": {
|
|
|
"privmxWebDir": "/usr/share/privmx-team-server/app/plugins/webui/assets"
|
|
|
}
|
|
|
}
|
|
|
``` |
|
|
\ No newline at end of file |