Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #22749: resources sent to the browser are not compressed when using a custom cetificate #2737

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions rudder-server/SOURCES/rudder-apache-webapp-ssl.conf
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
# this is a duplicate of rudder-apache-relay-ssl.conf, but is needed when vhosts are splitted
# apache ignores duplicate configurations, so it works
<IfModule mod_deflate.c>
<IfModule mod_filter.c>
# Enable gzip encoding on textual resources
AddOutputFilterByType DEFLATE text/plain text/html text/xml text/javascript text/css
AddOutputFilterByType DEFLATE application/xml application/xhtml+xml application/rss+xml image/svg+xml
AddOutputFilterByType DEFLATE application/json application/javascript application/x-javascript
</IfModule>
</IfModule>

# Prevent Chrome loop detection to block the page after too many
# page reloads.
<LocationMatch "/rudder(?!/relay-api|/api)">
Expand Down