Reputation: 15
I have a rule that forces all URLs into lowercase and I think its breaking the image URL rewrites mod_pagespeed is making on my nginx server.
Is there a configuration I can change to prevent only allow lowercase renaming?
Upvotes: 0
Views: 221
Reputation: 13
Wow after 7 months of waiting. I was having this problem as well.
Here was my problem:
location ~ [A-Z] {
rewrite ^(.*)$ http://example.com$uri_lowercase permanent;
}
Here is my fix:
location / {
rewrite ^(.*)[A-Z]+(.*)$ http://example.com$uri_lowercase permanent;
}
Upvotes: 1