On Tue, Sep 07, 2010 at 01:11:22AM -0400, jlangevin wrote:
> I've successfully configured Nginx on an Ubuntu 10.04 box, serving up a
> dynamic PHP website.
> We need to be able to reverse proxy this website, which I've also been
> able to do, as:
>
> www frontend (nginx reverse proxy)
> www1 backend (nginx php webserver)
>
> The intention is to be able to add/remove backend servers at will.
>
>
> The only issue I have so far, is that the frontend, as configured, does
> not proxy SSL requests.
> How can I enable this on my configuration?
http://nginx.org/en/docs/http/configuring_https_servers.html
> Please note, the backend server *does* have functioning SSL config, and
> was tested directly to verify both :80 and :443 work as intended.
You may proxy to SSL:
location / {
proxy_pass https://backend;
}
however, it's better to leave SSL only on nginx side and proxy SSL to
plain HTTP:
server {
listen 443;
ssl on;
# other ssl stuff
location / {
proxy_pass http://backend;
}
--
Igor Sysoev
http://sysoev.ru/en/
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx