Last active
July 14, 2019 12:11
-
-
Save michimau/85f354bb4e55e086fa0df8a33a48ec54 to your computer and use it in GitHub Desktop.
pydio_apache
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<VirtualHost *:80> | |
ServerAdmin mypydio.com | |
AllowEncodedSlashes On | |
RewriteEngine On | |
ProxyPassMatch "/ws/(.*)" ws://cells:8080/ws/$1 nocanon | |
ProxyPass / http://cells:8080/ nocanon | |
ProxyPassReverse / http://cells:8080/ nocanon | |
# Proxy WebSocket | |
RewriteCond %{HTTP:Upgrade} =websocket [NC] | |
RewriteRule /(.*) wss://cells:8080/$1 [P,L] | |
ErrorLog ${APACHE_LOG_DIR}/error-80.log | |
CustomLog ${APACHE_LOG_DIR}/access-80.log combined | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment