nginx with apache.when using https,better using ssl in nginx or apache?

Aleksandar Lazic al-nginx at none.at
Sun Jul 20 22:02:21 MSD 2008


Hi,

On Son 20.07.2008 19:19, baalchina wrote:
>Hi,everyone.

some suggestions from me.

>I have an nginx 0.6.31 server running an web forum using php+mysql
>system. In nginx, I pass php requests to apache2, while apache listen
>in 127.0.0.1:81. It works well.

First you should move to php-fm (http://php-fpm.anight.org/)

>Now I wanna to setting https in my server. I already bought a cer
>file, working fine in my apache 2 server.
>So, my question is, should I using nginx as https server listen 443, or
>just using apache 2 to listen 443 and processing https request?
>Considering cert file compatibility   and server performance?
>I just want my users using https when they are logging into my site, so
>it will not have large traffic.

Second you should use nginx for 443 and forward the phprequests do
php-fm.

>And another question, will cert file using in Apache still works well
>with nginx?

Afaik, yes it works.

Your welcome

Aleks





More information about the nginx mailing list