21.02.2013 20:03, Valentin V. Bartenev wrote:
[...]
Apparently such configuration implies that different kinds of
connections (standard and websocket) can not be mixed in one "location"
section? (As far as I understood it, magic headers do not get through
directly, but essentially get reintroduce
21.02.2013 18:30, Valentin V. Bartenev wrote:
[...]
Yes, it's possible with 1.3.13. And yes, you need some additional configuration.
Example:
location /examples/websocket {
proxy_pass http://127.0.0.1:8080;
proxy_http_version 1.1;
proxy_set_header Upgrade $http
Hello all!
I've installed the latest version 1.3.13 (supposedly supporing
websocket) and was trying to push websocket connections through nginx to
tomcat while leaving all other (static) content to nginx. To do this,
I've added the following "location" for tomcat:
location /examples/