30 lines
746 B
Plaintext
30 lines
746 B
Plaintext
<VirtualHost *:80>
|
|
ServerAdmin admin@aeterna.local
|
|
DocumentRoot /var/www/html/public
|
|
ServerName localhost
|
|
|
|
<Directory /var/www/html/public>
|
|
Options -Indexes +FollowSymLinks
|
|
AllowOverride All
|
|
Require all granted
|
|
</Directory>
|
|
|
|
Alias /uploads /var/www/html/storage/uploads
|
|
<Directory /var/www/html/storage/uploads>
|
|
Options -Indexes
|
|
AllowOverride None
|
|
Require all granted
|
|
</Directory>
|
|
|
|
ErrorLog ${APACHE_LOG_DIR}/error.log
|
|
CustomLog ${APACHE_LOG_DIR}/access.log combined
|
|
|
|
AddDefaultCharset UTF-8
|
|
|
|
AddType text/css .css
|
|
AddType text/less .less
|
|
AddType text/javascript .js
|
|
AddType image/svg+xml .svg
|
|
AddType image/webp .webp
|
|
</VirtualHost>
|