added: "assume_connection_is_through_ssl" config parameter
winix is testing an environment variable "HTTPS" for the value "on" to think that the connection is made via SSL you can set assume_connection_is_through_ssl to true for the winix to not testing any environment variables but just think the connection was made by https (useful when using proxy) default: false git-svn-id: svn://ttmath.org/publicrep/winix/trunk@1069 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
*/
|
||||
|
||||
/*
|
||||
* Copyright (c) 2008-2016, Tomasz Sowa
|
||||
* Copyright (c) 2008-2017, Tomasz Sowa
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
@@ -484,7 +484,7 @@ public:
|
||||
|
||||
// if SSL is enabled then if this is true the SSL will be used
|
||||
// only for logged users
|
||||
// default: true
|
||||
// default: false
|
||||
bool use_ssl_only_for_logged_users;
|
||||
|
||||
// if current connection is without SSL and should be made through SSL
|
||||
@@ -493,6 +493,14 @@ public:
|
||||
// default: 303
|
||||
int use_ssl_redirect_code;
|
||||
|
||||
// winix is testing an environment variable "HTTPS" for the value "on"
|
||||
// to think that the connection is made via SSL
|
||||
// you can set assume_connection_is_through_ssl to true for the winix
|
||||
// to not testing any environment variables but just think the connection
|
||||
// was made by https (useful when using proxy)
|
||||
// default: false
|
||||
bool assume_connection_is_through_ssl;
|
||||
|
||||
// when the HOST_HTTP environment variable is not equal to 'base_url'
|
||||
// (the part 'http://' and the last slash is removed)
|
||||
// the server will redirect into base_url + 'REQUEST_URI'
|
||||
|
Reference in New Issue
Block a user