2018-02-05 12:58:17 +00:00
|
|
|
<IfModule mod_mime.c>
|
|
|
|
AddType text/x-yaml .yml
|
|
|
|
</IfModule>
|
|
|
|
|
2021-04-26 11:42:42 +00:00
|
|
|
<IfModule mpm_prefork_module>
|
2021-04-26 11:55:17 +00:00
|
|
|
ServerLimit 30
|
|
|
|
MaxRequestWorkers 30
|
2021-04-26 11:42:42 +00:00
|
|
|
MaxRequestsPerChild 1000
|
|
|
|
</IfModule>
|
|
|
|
|
2020-01-20 21:26:15 +00:00
|
|
|
<VirtualHost *:80>
|
2024-11-26 10:09:47 +00:00
|
|
|
DocumentRoot /usr/share/hedera-web/spa
|
|
|
|
|
|
|
|
RewriteEngine On
|
2024-11-26 11:23:56 +00:00
|
|
|
RewriteCond %{QUERY_STRING} (^|&)srv=([^&]+) [OR]
|
|
|
|
RewriteCond %{REQUEST_METHOD} POST
|
2024-11-26 11:43:11 +00:00
|
|
|
RewriteRule ^/$ /usr/share/hedera-web/back/index.php [L]
|
2020-01-20 21:26:15 +00:00
|
|
|
</VirtualHost>
|
|
|
|
|
2024-11-26 11:23:56 +00:00
|
|
|
<Directory /usr/share/hedera-web/back>
|
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
|
2024-11-26 10:09:47 +00:00
|
|
|
|
2022-05-09 15:15:56 +00:00
|
|
|
SetEnvIf Authorization .+ HTTP_AUTHORIZATION=$0
|
2024-11-26 10:09:47 +00:00
|
|
|
</Directory>
|
2024-11-25 17:02:26 +00:00
|
|
|
|
2024-11-26 10:09:47 +00:00
|
|
|
<Directory /usr/share/hedera-web/spa>
|
|
|
|
Options -FollowSymLinks
|
|
|
|
AllowOverride None
|
|
|
|
Require all granted
|
2024-11-25 17:02:26 +00:00
|
|
|
|
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>
|
2024-11-25 17:02:26 +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>
|