notify_push
notify_push copied to clipboard
Apache proxy configuration within Location directives with upgrade=websocket
The Apache documentation could potentially be updated for Websocket Upgrade (2.4.47 and later), also I have found that using Location (note the Overlapping Webspace documentation) seems to work best, for example:
<Location "/push/">
<IfModule proxy_module>
ProxyPass "http://127.0.0.1:7867/"
ProxyPassReverse "http://127.0.0.1:7867/"
</IfModule>
</Location>
<Location "/push/ws">
<IfModule proxy_module>
ProxyPass "ws://127.0.0.1:7867/ws" upgrade=websocket
</IfModule>
</Location>
I couldn't establish the wss connection.
I couldn't establish the wss connection.
maybe, this is a solution: add this "RewriteCond %{REQUEST_URI} !^/push [NC]" in <Location />
