You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to run snapdrop behind a apache reverse proxy.
Everything works, except that I can see every hosts instead only that one in my network.
I don't know how I can implement the X-Forwarded-For part with apache.
I googled a bit but nothing works.
Can anyone help?
This is my current config:
RewriteEngine On
RewriteCond %{HTTP:Upgrade} =websocket [NC]
RewriteRule /snapdrop/(.*) ws://localhost:8080/$1 [P,L]
RewriteCond %{HTTP:Upgrade} !=websocket [NC]
RewriteRule /snapdrop/(.*) http://localhost:8080/$1 [P,L]
ProxyPass /snapdrop/ http://localhost:8080/
ProxyPassReverse /snapdrop/ http://localhost:8080/
ProxyPass /snapdrop/ ws://localhost:8080/
<Proxy https://localhost:8080/>
AllowOverride None
Order allow,deny
Allow from all
</Proxy>
The text was updated successfully, but these errors were encountered:
I'm trying to run snapdrop behind a apache reverse proxy.
Everything works, except that I can see every hosts instead only that one in my network.
I don't know how I can implement the X-Forwarded-For part with apache.
I googled a bit but nothing works.
Can anyone help?
This is my current config:
The text was updated successfully, but these errors were encountered: