Run some sites directly by nginx without reverse proxy

JohnyByk

Verified User
Joined
Mar 7, 2012
Messages
223
I have configured DA to work with naginx as reverse proxy form apache:
webserver=nginx_apache


Is easy way to run sites belongs to some users without reverserse proxy - directly by nginx?
Some users hat sites optimized for nginx and they don't need apache.

Regards
 

smtalk

Administrator
Staff member
Joined
Aug 22, 2006
Messages
8,791
Location
LT, EU
Yes, it's easy to do this, but it might cause additional problems, because PHP is not directly loaded into nginx :) And the only mode supported would be PHP-FPM.
 

JohnyByk

Verified User
Joined
Mar 7, 2012
Messages
223
I'm using php-fpm. Can you tell me how to run site by nginx directly :)? I probably need to do a custom configuration for Nginx, or
maybe there is an easier way?
 
Last edited:
Top