Advertisement
Guest User

Untitled

a guest
Sep 18th, 2019
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.30 KB | None | 0 0
  1. <VirtualHost *:80>
  2. ServerAdmin webmaster@domain.de
  3. ServerName office.domain.de
  4.  
  5. # Encoded slashes need to be allowed
  6. AllowEncodedSlashes NoDecode
  7.  
  8. # Container uses a unique non-signed certificate
  9. SSLProxyEngine On
  10. SSLProxyVerify None
  11. SSLProxyCheckPeerCN Off
  12. SSLProxyCheckPeerName Off
  13.  
  14. # keep the host
  15. ProxyPreserveHost On
  16.  
  17. # static html, js, images, etc. served from loolwsd
  18. # loleaflet is the client part of LibreOffice Online
  19. ProxyPass /loleaflet https://127.0.0.1:9980/loleaflet retry=0
  20. ProxyPassReverse /loleaflet https://127.0.0.1:9980/loleaflet
  21.  
  22. # WOPI discovery URL
  23. ProxyPass /hosting/discovery https://127.0.0.1:9980/hosting/discovery retry=0
  24. ProxyPassReverse /hosting/discovery https://127.0.0.1:9980/hosting/discovery
  25.  
  26. # Main websocket
  27. ProxyPassMatch "/lool/(.*)/ws$" wss://127.0.0.1:9980/lool/$1/ws nocanon
  28.  
  29. # Admin Console websocket
  30. ProxyPass /lool/adminws wss://127.0.0.1:9980/lool/adminws
  31.  
  32. # Download as, Fullscreen presentation and Image upload operations
  33. ProxyPass /lool https://127.0.0.1:9980/lool
  34. ProxyPassReverse /lool https://127.0.0.1:9980/lool
  35. RewriteEngine on
  36. RewriteCond %{SERVER_NAME} =office.distra.band
  37. RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
  38. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement