|
@@ -1,20 +1,24 @@
|
|
|
<VirtualHost *:80>
|
|
<VirtualHost *:80>
|
|
|
- ServerName angular-preprod.foodgame.fr
|
|
|
|
|
- ServerAlias angular-preprod.foodgame.fr
|
|
|
|
|
- #ProxyPreserveHost On
|
|
|
|
|
- #ProxyRequests Off
|
|
|
|
|
- #ProxyPass / http://127.0.0.1:8080/
|
|
|
|
|
- #ProxyPassReverse / http://127.0.0.1:8080/
|
|
|
|
|
|
|
+ ServerName angular-preprod.foodgame.fr
|
|
|
|
|
+ DocumentRoot /var/www/html/browser
|
|
|
|
|
|
|
|
- ErrorLog "/var/log/apache2/error.log"
|
|
|
|
|
- LogLevel notice
|
|
|
|
|
- CustomLog "/var/log/apache2/access.log" combined
|
|
|
|
|
- DocumentRoot /var/www/html/browser
|
|
|
|
|
- <Directory /var/www/html/browser>
|
|
|
|
|
- Options +Indexes +FollowSymlinks
|
|
|
|
|
|
|
+ <Directory /var/www/html/browser>
|
|
|
|
|
+ Options Indexes FollowSymLinks
|
|
|
AllowOverride All
|
|
AllowOverride All
|
|
|
- </Directory>
|
|
|
|
|
-</VirtualHost>
|
|
|
|
|
|
|
+ Require all granted
|
|
|
|
|
+
|
|
|
|
|
+ RewriteEngine On
|
|
|
|
|
+ RewriteBase /
|
|
|
|
|
+ RewriteRule ^index\.html$ - [L]
|
|
|
|
|
+ RewriteCond %{REQUEST_FILENAME} !-f
|
|
|
|
|
+ RewriteCond %{REQUEST_FILENAME} !-d
|
|
|
|
|
+ RewriteRule . /index.html [L]
|
|
|
|
|
+ </Directory>
|
|
|
|
|
+
|
|
|
|
|
+ ErrorLog ${APACHE_LOG_DIR}/error.log
|
|
|
|
|
+ CustomLog ${APACHE_LOG_DIR}/access.log combined
|
|
|
|
|
+</VirtualHost>
|
|
|
|
|
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|