default.conf 611 B

123456789101112131415161718192021
  1. <VirtualHost *:80>
  2. ServerAdmin lyq@yoqi.me
  3. DocumentRoot "/home/twtech/www/s.yoqi.me"
  4. ServerName s.yoqi.me
  5. # SSLEngine on
  6. # SSLCertificateFile "/root/.acme.sh/yoqi.me/yoqi.me.cer"
  7. # SSLCertificateKeyFile "/root/.acme.sh/yoqi.me/yoqi.me.key"
  8. # ErrorLog "/data/wwwlogs/s.yoqi.me_error_apache.log"
  9. # CustomLog "/data/wwwlogs/s.yoqi.me_apache.log" common
  10. <Directory "/home/twtech/www/s.yoqi.me">
  11. SetOutputFilter DEFLATE
  12. Options FollowSymLinks ExecCGI
  13. Require all granted
  14. AllowOverride All
  15. Order allow,deny
  16. Allow from all
  17. DirectoryIndex index.html index.php
  18. </Directory>
  19. </VirtualHost>