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

Merge branch '1.0' into 4.6 #85

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
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
2 changes: 0 additions & 2 deletions resources/platformsh/common/4.6/.platform/varnish.vcl
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,7 @@ sub vcl_backend_response {

// Compressing the content
if (beresp.http.Content-Type ~ "application/javascript"
|| beresp.http.Content-Type ~ "application/json"
|| beresp.http.Content-Type ~ "application/vnd.ms-fontobject"
|| beresp.http.Content-Type ~ "application/vnd.ibexa.api"
|| beresp.http.Content-Type ~ "application/x-font-ttf"
|| beresp.http.Content-Type ~ "image/svg+xml"
|| beresp.http.Content-Type ~ "text/css"
Expand Down
2 changes: 1 addition & 1 deletion resources/templates/apache2/vhost.template
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@

# Enable gzip encoding
<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE text/plain text/css application/json text/javascript application/javascript text/xml application/xml application/xml+rss
AddOutputFilterByType DEFLATE text/plain text/css text/javascript application/javascript text/xml application/xml+rss
# NOTE: Using gzip on text/html can be a security issue. See http://breachattack.com.
</IfModule>
</VirtualHost>
2 changes: 1 addition & 1 deletion resources/templates/nginx/vhost.template
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ server {

# Gzip is enabled by default on most platforms, so here we just specify mime types to compress.
# NOTE: Using gzip on text/html can be a security issue, unless you somehow pad. See http://breachattack.com
gzip_types text/plain text/css application/json text/javascript application/javascript text/xml application/xml application/xml+rss;
gzip_types text/plain text/css text/javascript application/javascript text/xml application/xml+rss;

location / {
location ~ ^/index\.php(/|$) {
Expand Down
Loading