Bas Kierkels
New Pleskian
Hi guys,
We are building an app that includes messaging. Messaging works with websockets. The websockets needs a separate port: 5003.
The messaging part is working fine in non-SSL (http://ourdomain.com:5003). If we try SSL, then the connection is refused (https://ourdomain.com:5003).
We have been trying to add a virtual host that would bind to port 5003.
We cannot get that working: where can we create this additional virtual host?
We have tried several options.
Including adding:
<VirtualHost *:5003>
SSLEngine (and so on)
</VirtualHost>
to /var/www/vhosts/ourdomain.com/conf/vhost_ssl.conf and other files.
And of course:
- re-configuring the domain
- and restarting Apache and Nginx.
We seem to be missing where we can add this code.
Any help will be appreciated!
Thanks,
Bas
We are building an app that includes messaging. Messaging works with websockets. The websockets needs a separate port: 5003.
The messaging part is working fine in non-SSL (http://ourdomain.com:5003). If we try SSL, then the connection is refused (https://ourdomain.com:5003).
We have been trying to add a virtual host that would bind to port 5003.
We cannot get that working: where can we create this additional virtual host?
We have tried several options.
Including adding:
<VirtualHost *:5003>
SSLEngine (and so on)
</VirtualHost>
to /var/www/vhosts/ourdomain.com/conf/vhost_ssl.conf and other files.
And of course:
- re-configuring the domain
- and restarting Apache and Nginx.
We seem to be missing where we can add this code.
Any help will be appreciated!
Thanks,
Bas