diff options
author | Chris Buechler <cmb@pfsense.org> | 2015-12-30 21:06:23 -0600 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2016-01-05 09:08:10 -0200 |
commit | 8811dfc38b48ea01609cccfac286154b8a149854 (patch) | |
tree | bf5ed107be959c3adcd1edf41033d9eee39234a1 /src/etc/inc | |
parent | 84a7c17d88da676c1fb0f9c2f9264870b25404ed (diff) | |
download | pfsense-8811dfc38b48ea01609cccfac286154b8a149854.zip pfsense-8811dfc38b48ea01609cccfac286154b8a149854.tar.gz |
Keeping the disable logging option. Revert "clean up lighttpd bits"
This reverts commit 9de0332dec955ec513b74be9361de72d12aa7245.
Diffstat (limited to 'src/etc/inc')
-rw-r--r-- | src/etc/inc/system.inc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/etc/inc/system.inc b/src/etc/inc/system.inc index 66b0c91..2108edb 100644 --- a/src/etc/inc/system.inc +++ b/src/etc/inc/system.inc @@ -1237,6 +1237,14 @@ function system_generate_nginx_config($filename, } } + if (!isset($config['syslog']['nologlighttpd'])) { + $nginx_use_syslog = <<<EOD +## where to send error-messages to +server.errorlog-use-syslog="enable" +EOD; + } + + if ($captive_portal !== false) { $fast_cgi_path = "{$g['tmp_path']}/php-fastcgi-{$captive_portal}.socket"; $fastcgi_config = <<<EOD |