Created
January 15, 2016 12:31
-
-
Save nedmas/44308410d4f643ea1739 to your computer and use it in GitHub Desktop.
SilverStripe SecureAssets Nginx Configuration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
location ^~ /assets/ { | |
sendfile on; | |
rewrite ^(.*)$ /framework/main.php?url=$1 last; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you!