WebSockets > Apache: the proxy_wstunnel module is required (#1163)

This commit is contained in:
Alexis Lefebvre 2021-04-01 08:53:08 +02:00 committed by GitHub
parent 2bace7954d
commit ab40583c9a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -110,6 +110,15 @@ ProxyPass / http://photoprism:2342/
ProxyPassReverse / http://photoprism:2342/
ProxyRequests off
</pre>
<p>
You will have to enable the <code>proxy_wstunnel</code> module:
</p>
<pre>
a2enmod proxy_wstunnel
</pre>
<p>
Then you will have to reload Apache.
</p>
<p>
The <a target="_blank" href="https://httpd.apache.org/docs/2.4/mod/mod_proxy_wstunnel.html" class="text-link">official documentation</a> explains in detail, how to configure Apache Web Server 2.4 to reverse proxy WebSockets.
</p>