apache.conf 843 B

123456789101112131415161718192021222324252627282930313233
  1. <VirtualHost *:80>
  2. ServerName angular-dev.foodgame.fr
  3. DocumentRoot /var/www/html/browser
  4. <Directory /var/www/html/browser>
  5. Options Indexes FollowSymLinks
  6. AllowOverride All
  7. Require all granted
  8. RewriteEngine On
  9. RewriteBase /
  10. RewriteRule ^index\.html$ - [L]
  11. RewriteCond %{REQUEST_FILENAME} !-f
  12. RewriteCond %{REQUEST_FILENAME} !-d
  13. RewriteRule . /index.html [L]
  14. </Directory>
  15. ErrorLog ${APACHE_LOG_DIR}/error.log
  16. CustomLog ${APACHE_LOG_DIR}/access.log combined
  17. </VirtualHost>
  18. <VirtualHost *:443>
  19. DocumentRoot /var/www/html/browser
  20. ServerName angular-dev.foodgame.fr
  21. ServerAlias angular-dev.foodgame.fr
  22. #SSLEnable
  23. #SSLEngine ON
  24. #SSLCertificateFile path/to/server.crt
  25. #SSLCertificateKeyFile path/to/server.key
  26. </VirtualHost>