Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
HTTPS 502 bad gateway
- To: nginx-ru@xxxxxxxxx
- Subject: HTTPS 502 bad gateway
- From: "back2egg" <nginx-forum@xxxxxxxx>
- Date: Mon, 26 Jul 2010 10:49:13 -0400
- Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mickey.jlkhosting.com; s=x; h=Sender:From:Message-ID:Content-Transfer-Encoding:Content-Type:Subject:To:Date; bh=2NLBSmv14EAh0RZ1Gfv2G4Vp1GZfwVygWjdYgDEmk3E=; b=sX9wwCZtQH4i+xXLmYAZb2rJahFdCIccyXgZK8u8IjBrLPHDb6opeHhYgVmmUErYYjimgybqLYLplYIHztB0Sv4AQiXWBa78zt2o6t2zPMDFWpmZts9UkaDDQzzUlXC2;
Простите, если эта тема уже
поднималась.
Так все работает:
[code]
server {
listen 10.0.0.1:443;
...
location / {
root /path;
fastcgi_pass 127.0.0.1:9000;
}
}
[/code]
Но мне нужна переменная $_SERVER['HTTPS'].
Добавляю параметр.
[code]
server {
listen 10.0.0.1:443;
...
location / {
root /path;
fastcgi_param HTTPS on;
fastcgi_pass 127.0.0.1:9000;
}
}
[/code]
В результате имею 502 bad gateway.
Что не так?
Posted at Nginx Forum:
http://forum.nginx.org/read.php?21,113052,113052#msg-113052
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru
|