Got it working thank you:)
For other reading the forum..
...
Binding {
Port = 80
MaxKeepAlive = 32
TimeForRequest = 3,30
MaxRequestSize = 20000
MaxUploadSize = 20
}
Binding {
Port = 443
MaxKeepAlive = 100
TimeForRequest = 5,30
TLScertFile = /usr/local/etc/hiawatha/ssl/serverkey.pem
MaxRequestSize = 512
MaxRequestSize = 20000
MaxUploadSize = 20
}
VirtualHost {
Hostname = www.mydomain.co.uk, mydomain.co.uk, *.mydomain.co.uk
WebsiteRoot = /var/www/empty
RequireTLS = yes,31536000
TLScertFile = /usr/local/etc/hiawatha/ssl/mydomain.co.uk.pem
RandomHeader = 512
ReverseProxy .* http://10.8.20.14:80 30 keep-alive
AccessLogfile = /var/log/hiawatha/mydomain.access.log
ErrorLogfile = /var/log/hiawatha/mydomain.error.log
}
RequireTLS = yes will force ssl back to the client but the traffic between proxy and backend will be plain http..
Hugo, please coreect me if i'm wrong