Using X-Accel-Redirect for protected pictures?
lists at ruby-forum.com
Thu Feb 14 02:14:36 MSK 2008
i would like to only let friends of a user view a users private photo
album. can i use x-accel for this purpose?
could something like this work?
@photos = UserPhotos.get_all
for pics in @photos
<img email@example.com['X-Accel-Redirect'] />
i dont this this would work. am i close?
Posted via http://www.ruby-forum.com/.
More information about the nginx