Created
October 17, 2018 22:31
-
-
Save cboulanger/f62b844da1f93f6464ede3369dccef92 to your computer and use it in GitHub Desktop.
Humhub/OnlyOffice configuration
This file contains hidden or 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
ServerName hub.rechtswirklichkeit.de | |
ServerAdmin [email protected] | |
ProxyPreserveHost On | |
SetEnvIf Host "^(.*)$" THE_HOST=$1 | |
RequestHeader setifempty X-Forwarded-Proto https | |
RequestHeader setifempty X-Forwarded-Host %{THE_HOST}e | |
ProxyAddHeaders Off | |
SSLProxyEngine on | |
SSLProxyVerify none | |
SSLProxyCheckPeerCN off | |
SSLProxyCheckPeerName off | |
ProxyPass / https://10.10.10.106/ | |
ProxyPassReverse / https://10.10.10.106/ | |
SSLCertificateFile /etc/letsencrypt/live/hub.rechtswirklichkeit.de/fullchain.pem | |
SSLCertificateKeyFile /etc/letsencrypt/live/hub.rechtswirklichkeit.de/privkey.pem | |
Include /etc/letsencrypt/options-ssl-apache.conf |
This file contains hidden or 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
ServerName test.panya.de | |
ServerAdmin [email protected] | |
SSLEngine on | |
SSLCertificateFile /etc/letsencrypt/live/test.panya.de/fullchain.pem | |
SSLCertificateKeyFile /etc/letsencrypt/live/test.panya.de/privkey.pem | |
ProxyPreserveHost On | |
SetEnvIf Host "^(.*)$" THE_HOST=$1 | |
RequestHeader setifempty X-Forwarded-Proto https | |
RequestHeader setifempty X-Forwarded-Host %{THE_HOST}e | |
ProxyAddHeaders Off | |
ProxyPassMatch (.*)(\/websocket)$ "ws://10.10.10.114/$1$2" | |
ProxyPass / http://10.10.10.114/ | |
ProxyPassReverse / http://10.10.10.114/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment