Welcome! Log In Create A New Profile

Advanced

HTTPS 502 bad gateway

July 26, 2010 10:49AM
Простите, если эта тема уже поднималась.

Так все работает:
[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.
Что не так?
Subject Author Posted

HTTPS 502 bad gateway

back2egg July 26, 2010 10:49AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 63
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready