drupal-with-nginx
drupal-with-nginx copied to clipboard
Language prefix with private file serving
trafficstars
In drupal.conf, the location directive for private file serving doesn't match requests with a language prefix. I've fixed this by changing:
location ^~ /system/files/ {
to:
location ~* /system/files/ {
This one also solved the problem for me.
1 year is quite some time for an one line issue. Is there something wrong with this regex change? Or should this be patched on your branch?
It also solved my problems. Thanks a lot for the hint!
Adding a few keywords: i18n locale regex internationalization