This commit is contained in:
@@ -12,5 +12,43 @@
|
||||
Options FollowSymLinks
|
||||
AllowOverride None
|
||||
Require all granted
|
||||
|
||||
AddType application/geo+json .geojson
|
||||
|
||||
<IfModule mod_headers.c>
|
||||
<FilesMatch "\.geojson$">
|
||||
Header set Cache-Control "public, max-age=31536000, immutable"
|
||||
</FilesMatch>
|
||||
</IfModule>
|
||||
|
||||
<IfModule mod_brotli.c>
|
||||
AddOutputFilterByType BROTLI_COMPRESS \
|
||||
text/html \
|
||||
text/plain \
|
||||
text/css \
|
||||
text/javascript \
|
||||
text/xml \
|
||||
application/javascript \
|
||||
application/json \
|
||||
application/geo+json \
|
||||
application/manifest+json \
|
||||
application/xml \
|
||||
image/svg+xml
|
||||
</IfModule>
|
||||
|
||||
<IfModule mod_deflate.c>
|
||||
AddOutputFilterByType DEFLATE \
|
||||
text/html \
|
||||
text/plain \
|
||||
text/css \
|
||||
text/javascript \
|
||||
text/xml \
|
||||
application/javascript \
|
||||
application/json \
|
||||
application/geo+json \
|
||||
application/manifest+json \
|
||||
application/xml \
|
||||
image/svg+xml
|
||||
</IfModule>
|
||||
</Directory>
|
||||
</VirtualHost>
|
||||
|
||||
Reference in New Issue
Block a user