Hello Hugo,
We would like to clarify something about RequiredBinding. I think right now this directive is a bit confusing.
We discussed it earlier, but I still want to ask for this.
You mentioned that right now Hiawatha listens on All bindings (let's say Non-SSL and SSL).
So if you specify RequiredBinding on a vhost (let's say SSL), then according to you Hiawatha will stop listening on Non-SSL binding for that virtual host.
However, this is a bit confusing. What is the point of limiting bindings, unless you want to specify 2 Vhosts:
VirtualHost {
Hostname = domain.com
WebsiteRoot = /var/www/hiawatha
ReverseProxy .* https://67.23.169.105:443/ 60
SSLcertFile = /etc/hiawatha/ssl/domain.pem
RequiredBinding = SSL
}
VirtualHost {
Hostname = domain.com
WebsiteRoot = /var/www/hiawatha
ReverseProxy .* http://67.23.169.105:80/ 60
SSLcertFile = /etc/hiawatha/ssl/cloudlayar.pem
RequiredBinding = NON-SSL
}
I think it would seem logical to use the RequiredBinding directive in order to separate traffic between SSL and non-SSL.
Otherwise, I don't see much use of the RequiredBinding directive...
Seems we are not the only ones having this issue:
https://www.hiawatha-webserver.org/forum/topic/1502