First commit
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
<VirtualHost *:80>
|
||||
DocumentRoot /var/www/html/CURRENT
|
||||
|
||||
AliasMatch "^/api(/.*)?" "/var/www/html/CURRENT/public$1"
|
||||
<Directory /var/www/html/CURRENT/public>
|
||||
Options FollowSymLinks
|
||||
AllowOverride All
|
||||
Require all granted
|
||||
</Directory>
|
||||
|
||||
AliasMatch "^(/.*)?" "/var/www/html/CURRENT/frontend/dist$1"
|
||||
<Directory /var/www/html/CURRENT/frontend/dist>
|
||||
AllowOverride All
|
||||
Order allow,deny
|
||||
Allow from All
|
||||
|
||||
RewriteEngine on
|
||||
RewriteCond %{REQUEST_FILENAME} -f [OR]
|
||||
RewriteCond %{REQUEST_FILENAME} -d
|
||||
RewriteRule ^ - [L]
|
||||
RewriteRule ^ index.html [L]
|
||||
</Directory>
|
||||
|
||||
ErrorLog "${APACHE_LOG_DIR}/error.log"
|
||||
CustomLog "${APACHE_LOG_DIR}/access.log" combined
|
||||
</VirtualHost>
|
||||
Reference in New Issue
Block a user