Skip to content

Commit

Permalink
config
Browse files Browse the repository at this point in the history
  • Loading branch information
ymarcon committed Jun 6, 2018
1 parent b081053 commit 34182c8
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions admin/configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -185,3 +185,20 @@ Example of Apache directives that:
ProxyPass / https://localhost:8444/
ProxyPassReverse / https://localhost:8444/
</VirtualHost>
For performance, you can also activate Apache's compression module (mod_deflate) with the following settings (note the json content type setting) in file */etc/apache2/mods-available/deflate.conf*:

.. code-block:: text
<IfModule mod_deflate.c>
<IfModule mod_filter.c>
# these are known to be safe with MSIE 6
AddOutputFilterByType DEFLATE text/html text/plain text/xml
# everything else may cause problems with MSIE 6
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE application/x-javascript application/javascript application/ecmascript
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/json
</IfModule>
</IfModule>

0 comments on commit 34182c8

Please sign in to comment.