Bug#880993: enable http2 protocol when http2 module is enabled

2018-09-11 Thread TJ
I second this. I was expecting something of this sort when I ran
"a2enmod http2" and was surprised not to find an accompanying .conf.



Bug#880195: Not a bug, a feature (was: apache2: Trying to use ws:// in proxy...)

2018-09-11 Thread Vincent Caron
The error message is misleading. It happens if a client try to contact
the proxy entrypoint with the HTTP protocol without requesting an
upgrade to Websocket : only websocket requests can be tunneled to a
websockend endpoint, thus the proxy complains.

Your web application should have a subset of paths which use Websockets
and all other paths with plain HTTP(S). The correct config often boils
down to :

Proxy /ws  ws://host:port/
Proxy /http://host:port/

And DON'T try to test by requesting the /ws URL with curl or your
browser, it will try plain HTTP(S) without asking for websocket upgrade
and Apache will complain with the message this bugreport mentions.