OverviewFilesCommitsIssuesDocsReleasesPeers

wirecore / wirecore-relay / apache-minimal.conf

12 lines · conf ref:
# Minimal Apache Config for Wirecore Relay
# Add to /etc/apache2/sites-available/000-default-le-ssl.conf before </VirtualHost>

<Location /relay>
    ProxyPass http://10.22.0.1:9000
    ProxyPassReverse http://10.22.0.1:9000
</Location>

RewriteEngine On
RewriteCond %{HTTP:Upgrade} =websocket [NC]
RewriteRule ^/relay(.*)$  ws://10.22.0.1:9000$1 [P,L]