testing
This commit is contained in:
22
ops/apache2/vhost.conf
Normal file
22
ops/apache2/vhost.conf
Normal file
@ -0,0 +1,22 @@
|
||||
<VirtualHost *:80>
|
||||
# ServerAdmin webmester@bytedev.co
|
||||
ServerName {{domain}}
|
||||
|
||||
<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">
|
||||
RewriteEngine On
|
||||
RewriteBase /
|
||||
RewriteRule ^index\.html$ - [L]
|
||||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
RewriteCond %{REQUEST_FILENAME} !-d
|
||||
RewriteRule . /index.html [L]
|
||||
</Directory>
|
||||
|
||||
</VirtualHost>
|
Reference in New Issue
Block a user