examples.conf 538 B

12345678910111213141516171819202122
  1. <VirtualHost *:8080>
  2. ServerName example.com
  3. ServerAlias www.example.com
  4. DocumentRoot /home/www/plug
  5. <Directory /home/www/plug>
  6. Options -Indexes +FollowSymLinks +MultiViews
  7. AllowOverride All
  8. Require all granted
  9. #RewriteEngine On
  10. #RewriteCond %{REQUEST_URI} !^/\.well\-known/acme\-challenge/
  11. #RewriteRule ^(.*)$ https://%{HTTP_HOST}$1 [R=301,L]
  12. </Directory>
  13. <FilesMatch \.php$>
  14. SetHandler "proxy:fcgi://127.0.0.1:9000"
  15. </FilesMatch>
  16. ErrorLog ${APACHE_LOG_DIR}/error.log
  17. CustomLog ${APACHE_LOG_DIR}/access.log combined
  18. </VirtualHost>