Skip to content

Commit

Permalink
fixed static file path to pub for magento2
Browse files Browse the repository at this point in the history
  • Loading branch information
phoenix-bjoern committed Jan 21, 2015
1 parent 1f3737b commit 28daee5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/code/Magento/PageCache/etc/varnish.vcl
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ sub vcl_recv {
std.collect(req.http.Cookie);

# static files are always cacheable. remove SSL flag and cookie
if (req.url ~ "^/(media|js|skin)/.*\.(png|jpg|jpeg|gif|css|js|swf|ico)$") {
if (req.url ~ "^/pub/.*\.(png|jpg|jpeg|gif|css|js|swf|ico)$") {
unset req.http.Https;
unset req.http.Cookie;
}
Expand Down

0 comments on commit 28daee5

Please sign in to comment.