Re: Preserve protocol in httpd proxy

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm sure we can do w/ mod_rewrite... it's just that
it's soo expensive :)

On May 30, 2014, at 3:40 PM, Ruediger Pluem <rpluem@xxxxxxxxxx> wrote:

> 
> 
> 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
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx






[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux