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

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


On Son 20.07.2008 19:19, baalchina wrote:

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 It works well.

First you should move to php-fm (

>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

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

Afaik, yes it works.

Your welcome


More information about the nginx mailing list