24 lines
601 B
Plaintext
24 lines
601 B
Plaintext
<VirtualHost *:80>
|
|
# ServerAdmin webmester@bytedev.co
|
|
|
|
<IfModule mod_expires.c>
|
|
<FilesMatch "\.(jpe?g|png|gif|js|css)$">
|
|
ExpiresActive On
|
|
ExpiresDefault "access plus 1 week"
|
|
</FilesMatch>
|
|
</IfModule>
|
|
|
|
DocumentRoot "{{workingPath}}/frontend"
|
|
|
|
<Directory "{{workingPath}}/frontend">
|
|
Require all granted
|
|
RewriteEngine On
|
|
RewriteBase /
|
|
RewriteRule ^index\.html$ - [L]
|
|
RewriteCond %{REQUEST_FILENAME} !-f
|
|
RewriteCond %{REQUEST_FILENAME} !-d
|
|
RewriteRule . /index.html [L]
|
|
</Directory>
|
|
|
|
</VirtualHost>
|