Skip to content

Instantly share code, notes, and snippets.

@omega8cc
Created November 25, 2010 17:35
Show Gist options
  • Save omega8cc/715680 to your computer and use it in GitHub Desktop.
Save omega8cc/715680 to your computer and use it in GitHub Desktop.
location ~* /(/files/)/ {
rewrite ^/sites/(.*)/files/(.*)$ /sites/$host/files/$2 last;
try_files $uri @drupal;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment