35 lines
659 B
ApacheConf
35 lines
659 B
ApacheConf
# Alias /hedera-web /usr/share/hedera-web/
|
|
# Alias /vn-image-data /var/cache/hedera-web/image-db/
|
|
|
|
<Directory /usr/share/hedera-web/>
|
|
|
|
Options -Indexes -FollowSymLinks
|
|
AllowOverride None
|
|
|
|
Order Allow,Deny
|
|
Allow From All
|
|
|
|
<FilesMatch "\.(css|js|json|php|xml|html)$">
|
|
SetOutputFilter DEFLATE
|
|
</FilesMatch>
|
|
|
|
<FilesMatch "\.(ttf|otf|eot|woff)$">
|
|
<IfModule mod_headers.c>
|
|
Header set Access-Control-Allow-Origin "*"
|
|
</IfModule>
|
|
</FilesMatch>
|
|
|
|
</Directory>
|
|
|
|
<Directory /var/cache/hedera-web/image-db/>
|
|
|
|
Options Indexes FollowSymLinks MultiViews
|
|
AllowOverride FileInfo Options
|
|
|
|
Order Allow,Deny
|
|
Allow From All
|
|
Require all granted
|
|
|
|
</Directory>
|
|
|