...
Under Help → Redis Info you will find debug information about the configured Redis Instance
Apache Config Changes
HTTPS Realtime Events
...
If you are using opEvents with https there are a few changes needed to proxy websockets to the opEvents web-server.
You will need to enable proxy_wstunnel and modify the OMK provided Apache virtual host.
Debian
If you are running a debian based linux os please enable these apache modules
Code Block |
---|
a2enmod proxy
a2enmod proxy_http
a2enmod proxy_wstunnel |
CentOS
Edit /etc/httpd/conf.modules.d/00-proxy.conf
All modules related to proxying websockets are listed in this configuration file, please uncomment:
LoadModule proxy_http_module modules/mod_proxy_http.
soLoadModule proxy_wstunnel modules/mod_proxy_wstunnel.so
Then restart Apache
Code Block |
---|
sudo systemctl restart httpd |
Proxy the webscocket
Locate the Opmantek Apach2 virtual host in /etc/apache2/conf-enabled/04omk-proxy.conf
We need to tell the omk server application the connection is being proxied and the client has connected over https, Find RequestHeader and change from http to https
Code Block |
---|
RequestHeader set X-Forwarded-Proto "https" |
...