httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ruediger Pluem <rpl...@apache.org>
Subject Re: [users@httpd] Preserve protocol in httpd proxy
Date Fri, 30 May 2014 19:40:58 GMT


Jim Jagielski wrote:
> Off the top of my head, I think we would need to
> add another proxypass option.

Have you tried the following?

RewriteEngine On
RewriteCond %{HTTP:Upgrade} =WebSocket [NC,NV]
RewriteRule ^/(.*) ws://my.backend:8080/$1 [P]
RewriteRule ^/(.*) http://my.backend:8080/$1 [P]



Regards

RĂ¼diger


Mime
View raw message