Skip to content

Commit

Permalink
Fix #402 - Add rules for css and js
Browse files Browse the repository at this point in the history
  • Loading branch information
lochmueller committed Nov 8, 2023
1 parent afd5ffc commit a990aea
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Documentation/Configuration/Htaccess.rst
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,14 @@ variables (SFC_ROOT, SFC_GZIP) and read the comments carefully.
ForceType text/html
# AddType "text/html" .gz
</FilesMatch>
<FilesMatch "\.js\.gz$">
ForceType text/javascript
# AddType "text/javascript" .gz
</FilesMatch>
<FilesMatch "\.css\.gz$">
ForceType text/css
# AddType "text/css" .gz
</FilesMatch>
<FilesMatch "\.xml\.gz$">
ForceType text/xml
# AddType "text/xml" .gz
Expand Down

0 comments on commit a990aea

Please sign in to comment.