Skip to content

Commit e2fbf1a

Browse files
committed
Clarify some frequently encountered issues in config.php.
Clarify https and baseurlpath even more. Also mention under logging how this relates to loggingdir above.
1 parent 70bf961 commit e2fbf1a

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

config/config.php.dist

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ $config = [
2424
*
2525
* The full url format is useful if your SimpleSAMLphp setup is hosted behind
2626
* a reverse proxy. In that case you can specify the external url here.
27+
* Specifying the full URL including https: will let SimpleSAMLphp know
28+
* that it runs on HTTPS even if the backend server is plain HTTP.
2729
*
2830
* Please note that SimpleSAMLphp will then redirect all queries to the
2931
* external url, no matter where you come from (direct access or via the
@@ -340,6 +342,9 @@ $config = [
340342
*
341343
* Options: [syslog,file,errorlog,stderr]
342344
*
345+
* If you set the handler to 'file', the directory specified in loggingdir above
346+
* must exist and be writable for SimpleSAMLphp. If set to something else, set
347+
* loggingdir above to 'null'.
343348
*/
344349
'logging.level' => SimpleSAML\Logger::NOTICE,
345350
'logging.handler' => 'syslog',

0 commit comments

Comments
 (0)