better checking for SSL servers, even though it probably doesn't fix the cookie bug
This commit is contained in:
parent
2fe8bae7a5
commit
4cf684a701
@ -59,6 +59,8 @@ server {
|
||||
ssl_ciphers ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv3:+EXP;
|
||||
ssl_prefer_server_ciphers on;
|
||||
|
||||
fastcgi_param HTTPS on;
|
||||
|
||||
index index.php;
|
||||
charset utf-8;
|
||||
root /var/www/red;
|
||||
|
@ -63,7 +63,7 @@ if(! $a->install) {
|
||||
((isset($arr['lifetime'])) ? $arr['lifetime'] : 60*5),
|
||||
((isset($arr['path'])) ? $arr['path'] : '/'),
|
||||
((isset($arr['domain'])) ? $arr['domain'] : $a->get_hostname()),
|
||||
((isset($_SERVER['HTTPS'])) ? true : false),
|
||||
((isset($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) == 'on') ? true : false),
|
||||
((isset($arr['httponly'])) ? $arr['httponly'] : true));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user