2020-01-22 07:39:44 +00:00
|
|
|
Alias /vn-image-data /var/lib/hedera-web/image-db/
|
2020-01-20 21:26:15 +00:00
|
|
|
Alias /vn-access /mnt/storage/vn-access/
|
2015-01-23 13:09:30 +00:00
|
|
|
|
2018-02-05 12:58:17 +00:00
|
|
|
<IfModule mod_mime.c>
|
|
|
|
AddType text/x-yaml .yml
|
|
|
|
</IfModule>
|
|
|
|
|
2020-01-20 21:26:15 +00:00
|
|
|
<VirtualHost *:80>
|
|
|
|
DocumentRoot /usr/share/hedera-web/
|
|
|
|
</VirtualHost>
|
|
|
|
|
2016-08-31 11:53:46 +00:00
|
|
|
<Directory /usr/share/hedera-web/>
|
2015-02-08 15:38:38 +00:00
|
|
|
Options -Indexes -FollowSymLinks
|
2015-01-23 13:09:30 +00:00
|
|
|
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)$">
|
2015-01-23 13:09:30 +00:00
|
|
|
SetOutputFilter DEFLATE
|
|
|
|
</FilesMatch>
|
2017-12-11 11:46:36 +00:00
|
|
|
|
2015-01-23 13:09:30 +00:00
|
|
|
<FilesMatch "\.(ttf|otf|eot|woff)$">
|
|
|
|
<IfModule mod_headers.c>
|
2018-05-04 20:46:09 +00:00
|
|
|
Header set Access-Control-Allow-Origin "*"
|
2015-01-23 13:09:30 +00:00
|
|
|
</IfModule>
|
|
|
|
</FilesMatch>
|
|
|
|
</Directory>
|
2015-06-30 12:06:19 +00:00
|
|
|
|
2020-01-22 07:39:44 +00:00
|
|
|
<Directory /var/lib/hedera-web/image-db/>
|
2018-05-04 20:46:09 +00:00
|
|
|
Options +Indexes +FollowSymLinks
|
|
|
|
Require all granted
|
|
|
|
</Directory>
|
|
|
|
|
2020-01-22 07:39:44 +00:00
|
|
|
<Directory /var/lib/hedera-web/image-db/*/*>
|
2018-05-04 20:46:09 +00:00
|
|
|
Options -Indexes -MultiViews +FollowSymLinks
|
2016-07-22 20:00:27 +00:00
|
|
|
AllowOverride FileInfo Options
|
|
|
|
Require all granted
|
2018-05-04 20:46:09 +00:00
|
|
|
|
2020-01-20 21:26:15 +00:00
|
|
|
<IfModule mod_rewrite.c>
|
2018-05-04 20:46:09 +00:00
|
|
|
RewriteEngine On
|
|
|
|
RewriteBase /
|
2019-02-05 10:22:20 +00:00
|
|
|
RewriteCond %{REQUEST_FILENAME} !\.[a-zA-Z0-9]+$
|
2018-05-04 20:46:09 +00:00
|
|
|
RewriteRule ^(.+)$ %{REQUEST_URI}.png [L]
|
|
|
|
</IfModule>
|
2016-07-22 20:00:27 +00:00
|
|
|
</Directory>
|
2020-01-20 21:26:15 +00:00
|
|
|
|
|
|
|
<Directory /mnt/storage/vn-access>
|
|
|
|
Require all granted
|
|
|
|
AllowOverride None
|
|
|
|
Options +Indexes
|
|
|
|
IndexIgnoreReset On
|
|
|
|
Header set X-Robots-Tag "noindex, nofollow"
|
|
|
|
</Directory>
|