Private file system image styles *.conf

Events happening in the community are now at Drupal community events on www.drupal.org.
Posted by tbenice on March 5, 2013 at 8:52pm

For those who use the private file system for images (or amazons3 which uses private file system), the following needs to be in your .conf for nginx:

# Catch image styles for private files.
location ~ ^/system/files/styles/ {
try_files $uri @rewrite;
}

The stated config:

# Catch image styles for private files.
location ~ ^/sites/.*/private/styles/ {
try_files $uri @rewrite;
}

does not work.

Comments

You Rockstar!

Posted by tim.foxell on February 17, 2014 at 12:08pm

Thank you so much!

Nginx

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

AltStyle によって変換されたページ (->オリジナル) /