Unifi os behind apache reverse proxy

Just because it caused me more trouble than it’s worth, here’s how I setup my Apache reverse proxy for UOS

RewriteEngine On
RewriteCond %{HTTP:Upgrade} =websocket [NC]
RewriteRule /(.*) wss://REDACTED:11443/$1 [P,L]
ProxyPass / https://REDACTED:11443/
ProxyPassReverse / https://REDACTED:11443/

Leave a Comment

Scroll to Top