SHARE
TWEET

Syno Apache reverse proxy config

a guest Jun 6th, 2014 1,185 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <IfModule !proxy_module>
  2.    LoadModule proxy_module modules/mod_proxy.so
  3.    LoadModule proxy_connect_module modules/mod_proxy_connect.so
  4.    LoadModule proxy_http_module modules/mod_proxy_http.so
  5. </IfModule>
  6.  
  7. ProxyRequests Off
  8. #ProxyPreserveHost On
  9.  
  10. NameVirtualHost *:80
  11.  
  12. #Para File Station
  13. <VirtualHost *:80>
  14.    ServerName fs.qc.myds.me
  15.    <Location />
  16.       RedirectPermanent / https://fs.qc.myds.me/
  17.    </Location>
  18. </VirtualHost>
  19.  
  20. NameVirtualHost *:443
  21.  
  22. <VirtualHost *:443>
  23.    ServerName fs.qc.myds.me
  24.    SSLCipherSuite HIGH:MEDIUM
  25.    SSLProtocol all -SSLv2
  26.    SSLCertificateFile /usr/syno/etc/ssl/ssl.crt/server.crt
  27.    SSLCertificateKeyFile /usr/syno/etc/ssl/ssl.key/server.key
  28.    SSLEngine on
  29.    SSLProxyEngine on
  30.    ProxyRequests Off
  31.    ProxyVia Off
  32.    <Proxy *>
  33.        Order deny,allow
  34.        Allow from all
  35.    </Proxy>
  36.    ProxyPass / http://localhost:7000/
  37.    ProxyPassReverse / http://localhost:7000/
  38. </VirtualHost>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top