30 lines
600 B
ApacheConf
30 lines
600 B
ApacheConf
<IfModule mod_mime.c>
|
|
AddType text/x-yaml .yml
|
|
</IfModule>
|
|
|
|
<IfModule mpm_prefork_module>
|
|
ServerLimit 8
|
|
MaxRequestWorkers 8
|
|
MaxRequestsPerChild 1000
|
|
</IfModule>
|
|
|
|
<VirtualHost *:80>
|
|
DocumentRoot /usr/share/hedera-web/
|
|
</VirtualHost>
|
|
|
|
<Directory /usr/share/hedera-web/>
|
|
Options -Indexes -FollowSymLinks
|
|
AllowOverride None
|
|
Require all granted
|
|
|
|
<FilesMatch "\.(css|js|json|yml|php|xml|html|svg)$">
|
|
SetOutputFilter DEFLATE
|
|
</FilesMatch>
|
|
|
|
<FilesMatch "\.(ttf|otf|eot|woff)$">
|
|
<IfModule mod_headers.c>
|
|
Header set Access-Control-Allow-Origin "*"
|
|
</IfModule>
|
|
</FilesMatch>
|
|
</Directory>
|