GriefNorth

vHost

Dec 6th, 2014
221
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.24 KB | None | 0 0
  1. <VirtualHost *>
  2. ServerName git.gnorth.ru
  3. ServerAdmin [email protected]
  4. DocumentRoot "/var/www/gitlist"
  5. DirectoryIndex "index.html" "index.php"
  6. CustomLog "/var/log/apache2/git_access_log" "%h %l %u %t \"%r\" %>s %b"
  7. ErrorDocument 404 /error.html
  8. <IfModule mod_ssl.c>
  9. SSLEngine Off
  10. SSLCipherSuite "ALL:!aNULL:!ADH:!eNULL:!LOW:!EXP:RC4+RSA:+HIGH:+MEDIUM"
  11. SSLProtocol -ALL +SSLv3 +TLSv1
  12. SSLProxyProtocol -ALL +SSLv3 +TLSv1
  13. </IfModule>
  14. <IfModule mod_dav.c>
  15. DAVLockDB "/var/run/davlocks/.davlock100"
  16. DAVMinTimeout 600
  17. </IfModule>
  18. <IfModule mod_mem_cache.c>
  19. CacheEnable mem /
  20. MCacheSize 4096
  21. </IfModule>
  22. <Directory "/var/www/gitlist">
  23. <IfModule mod_dav.c>
  24. DAV Off
  25. </IfModule>
  26. Options All -Includes +ExecCGI -Indexes +MultiViews
  27. AllowOverride All
  28. </Directory>
  29. <IfModule mod_proxy_balancer.c>
  30. # ProxyPass / balancer://balancer-group
  31. # ProxyPassReverse / balancer://balancer-group/
  32. <Proxy "balancer://balancer-group">
  33. </Proxy>
  34. </IfModule>
  35. <IfModule mod_alias.c>
  36. Alias "/collaboration" "/usr/share/collaboration"
  37. Alias "/icons/" "/usr/share/httpd/icons/"
  38. Alias "/error/" "/usr/share/httpd/error/"
  39. </IfModule>
  40. LogLevel debug
  41. ErrorLog "/var/log/apache2/git_error_log"
  42. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment