Skip to content

Instantly share code, notes, and snippets.

@nedmas
Created January 15, 2016 12:31
Show Gist options
  • Save nedmas/44308410d4f643ea1739 to your computer and use it in GitHub Desktop.
Save nedmas/44308410d4f643ea1739 to your computer and use it in GitHub Desktop.
SilverStripe SecureAssets Nginx Configuration
location ^~ /assets/ {
sendfile on;
rewrite ^(.*)$ /framework/main.php?url=$1 last;
}
@krv
Copy link

krv commented May 7, 2019

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment