4. Special Environments¶
Tuning of the server configuration and the individual software components for the specific onsite usage can drastically improve performance of your Kopano Web Meetings instance. For more than 100 users, as well as any high availability structures it is advised to seek professional engineering support.
4.1. Using only Apache to host Kopano Web Meetings¶
Especially when it comes to a lot of connections Nginx is known to scale better. If you have the chance to use Nginx for the WebSocket part, please do so.
With Apache 2.4.5 the support for proxying WebSockets was introduced. For the following configuration to work the following modules need to be enabled: proxy, proxy_http, proxy_wstunnel, headers. On a Debian/Ubuntu system this can be achieved with the following command:
a2enmod proxy proxy_http proxy_wstunnel headers
After this is done a vhost with the following configuration can be created:
# reverse proxy configuration for kopano-webmeetings <Location /webmeetings> ProxyPass http://127.0.0.1:8090/webmeetings ProxyPassReverse /webmeetings </Location> <Location /webmeetings/ws> ProxyPass ws://127.0.0.1:8090/webmeetings/ws </Location> ProxyVia On ProxyPreserveHost On RequestHeader set X-Forwarded-Proto 'https' env=HTTPS
For kopano-presence the following vhost can be used:
# reverse proxy configuration for kopano-presence <Location /webapp/presence> ProxyPass http://localhost:1234/ ProxyPassReverse http://localhost:1234/ </Location>