📜  apache ws 代理 - 任何代码示例

📅  最后修改于: 2022-03-11 14:57:27.340000             🧑  作者: Mango

代码示例1

        ProxyPreserveHost On
        ServerName www.mysite.com
        ProxyPass / http://localhost:3333/
        ProxyPassReverse / http://localhost:3333/

RewriteEngine On
RewriteCond %{HTTP:Upgrade} websocket    [NC]
RewriteRule /(.*)           ws://localhost:3333/$1 [P,L]

...