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 #10371: Apply 10365 in 4.1 #1285

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 10 additions & 0 deletions rudder-server-relay/SOURCES/rudder-apache-relay-common.conf
Expand Up @@ -7,6 +7,16 @@ DocumentRoot /var/www
SSLOptions +StdEnvVars
</Directory>

# We do not require mod_deflate as it is not strictly necessary
<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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

isn't there a missing > ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indded!


# Expose the server UUID through http
Alias /uuid /opt/rudder/etc/uuid.hive
<Directory /opt/rudder/etc>
Expand Down
2 changes: 1 addition & 1 deletion rudder-server-relay/SOURCES/rudder-relay-apache
@@ -1,5 +1,5 @@
# Apache modules
APACHE_MODULES="${APACHE_MODULES} dav dav_fs ssl version wsgi"
APACHE_MODULES="${APACHE_MODULES} dav dav_fs ssl version wsgi filter deflate"

# Apache configuration flags
APACHE_SERVER_FLAGS="${APACHE_SERVER_FLAGS} SSL"