LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   nginx + php-fpm and nginx modules (https://www.linuxquestions.org/questions/linux-server-73/nginx-php-fpm-and-nginx-modules-885452/)

fantasygoat 06-09-2011 12:21 PM

nginx + php-fpm and nginx modules
 
I'm trying to wrap my head around an issue that's been presented to me.

I have an nginx server running php-fpm and all PHP requests are piped to a single location which redirects to php-fpm.

I would like to serve up h264 video from the same server, and there is a mod_h264 module for nginx that does this quite well.

The issue is, I'd like to pipe the request for that video through PHP, as we do authentication and whatnot via that mechanism, and then pipe the video out through that request while using the nginx module.

I'm having a lot of trouble wrapping my head around this and was wondering if anyone had run into this and found a solution.

Thanks!


All times are GMT -5. The time now is 06:03 AM.