server {
root /www/data;
location / {
}
location /images/ {
}
location ~ \.(mp3|mp4) {
root /www/media;
}
}
Created
October 28, 2014 22:29
-
-
Save brpaz/510237a5e6dd128121be to your computer and use it in GitHub Desktop.
Rewrites the path to diferent folder #nginx #nginx #rewrite
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment