Advertisement
Guest User

mi config reverse proxie apache2

a guest
Jun 21st, 2018
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.81 KB | None | 0 0
  1. <VirtualHost 54.37.157.197:443>
  2.  
  3. ServerName venachatear.org
  4. ServerAlias www.venachatear.org
  5. ServerAdmin info@venachatear.org
  6. DocumentRoot /home/admin/web/venachatear.org/public_html
  7. ScriptAlias /cgi-bin/ /home/admin/web/venachatear.org/cgi-bin/
  8. Alias /vstats/ /home/admin/web/venachatear.org/stats/
  9. Alias /error/ /home/admin/web/venachatear.org/document_errors/
  10. #SuexecUserGroup admin admin
  11. CustomLog /var/log/apache2/domains/venachatear.org.bytes bytes
  12. CustomLog /var/log/apache2/domains/venachatear.org.log combined
  13. ErrorLog /var/log/apache2/domains/venachatear.org.error.log
  14. <Directory /home/admin/web/venachatear.org/public_html>
  15. AllowOverride All
  16. SSLRequireSSL
  17. Options +Includes -Indexes +ExecCGI
  18. php_admin_value open_basedir /home/admin/web/venachatear.org/public_html:/home/admin/tmp
  19. php_admin_value upload_tmp_dir /home/admin/tmp
  20. php_admin_value session.save_path /home/admin/tmp
  21.  
  22. </Directory>
  23. <Directory /home/admin/web/venachatear.org/stats>
  24. AllowOverride All
  25. </Directory>
  26. SSLEngine on
  27. ProxyVia On
  28. ProxyRequests Off
  29. ProxyPass /kiwi http://www.venachatear.org:7778/kiwi
  30. ProxyPassReverse /kiwi http://www.venachatear.org:7778/kiwi
  31. ProxyPreserveHost on
  32.  
  33.  
  34.  
  35. SSLVerifyClient none
  36. SSLCertificateFile /home/admin/conf/web/ssl.venachatear.org.crt
  37. SSLCertificateKeyFile /home/admin/conf/web/ssl.venachatear.org.key
  38. SSLCertificateChainFile /home/admin/conf/web/ssl.venachatear.org.ca
  39.  
  40. <IfModule mod_ruid2.c>
  41. RMode config
  42. RUidGid admin admin
  43. RGroups www-data
  44. </IfModule>
  45. <IfModule itk.c>
  46. AssignUserID admin admin
  47. </IfModule>
  48.  
  49. IncludeOptional /home/admin/conf/web/sapache2.venachatear.org.conf*
  50.  
  51. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement