proxy SSL redirects

Pavel Ivashkov sup6542 at
Thu Jan 22 01:14:17 MSK 2009

Hello all,

  I have configured nginx-0.7.31 to proxy SSL requests (see config
  below; and yes - I need SSL on the back-end as well as on the
  While it perfectly works for cia back-end, I have an issue with
  paypal: the first request to https://ahchoo:2443/ redirects user to

  Any suggestions on what have I missed?

worker_processes  1;
error_log logs/error.log debug;

events {
    worker_connections  1024;

http {
    include       mime.types;
    default_type  application/octet-stream;

    access_log  logs/access.log;

    sendfile        on;
    keepalive_timeout  65;

    #gzip  on;

    upstream paypal {
    upstream cia {

    server {
        listen       2443;
        server_name  ahchoo;

        ssl                  on;
        ssl_certificate      ssl/ahchoo.crt;
        ssl_certificate_key  ssl/ahchoo.key;

        location / {
            proxy_pass https://paypal;
            proxy_redirect    default;



 pavel                mailto:sup6542 at

More information about the nginx mailing list