hedera-web/conf/apache.conf

29 lines
666 B
ApacheConf
Raw Permalink Normal View History

2016-08-31 11:53:46 +00:00
# Alias /hedera-web /usr/share/hedera-web/
2016-09-26 09:28:47 +00:00
# Alias /image-db /var/lib/hedera-web/image-db/
2018-02-05 12:58:17 +00:00
<IfModule mod_mime.c>
AddType text/x-yaml .yml
</IfModule>
2016-08-31 11:53:46 +00:00
<Directory /usr/share/hedera-web/>
2015-02-08 15:38:38 +00:00
Options -Indexes -FollowSymLinks
AllowOverride None
2017-12-11 11:46:36 +00:00
Require all granted
2018-02-05 12:58:17 +00:00
<FilesMatch "\.(css|js|json|yml|php|xml|html|svg)$">
SetOutputFilter DEFLATE
</FilesMatch>
2017-12-11 11:46:36 +00:00
<FilesMatch "\.(ttf|otf|eot|woff)$">
<IfModule mod_headers.c>
Header set Access-Control-Allow-Origin "*"
</IfModule>
</FilesMatch>
</Directory>
2016-09-20 18:36:22 +00:00
<Directory /var/lib/hedera-web/image-db/>
2016-07-22 20:00:27 +00:00
Options Indexes FollowSymLinks MultiViews
AllowOverride FileInfo Options
Require all granted
</Directory>