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: 141
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready