I currently host a django project on apache. I use the shared nginx to serve static media. I would love to continue hosting the django app on apache, but use nginx to serve protected media using x-accel-redirect. Is this even possible or would I have to host django on nginx to achieve this? I know I can use x-sendfile on apache but just considering my options. asked 08 May '16, 17:14 Keni |
You can't configure our front-end Nginx server to serve protected media using x-accel-redirect with a static-only app (or symlink). You would need to either:
answered 09 May '16, 18:45 seanf |