[fix] Add configuration variable for Nginx

This commit is contained in:
magikcypress 2017-04-27 14:36:02 +02:00
parent 02204a26de
commit d2892b3139
3 changed files with 15 additions and 15 deletions

View File

@ -68,7 +68,7 @@ languageselection = false
zerobincompatibility = false zerobincompatibility = false
; allows you to specify the name of the web server you are using to use ParseBin. ; allows you to specify the name of the web server you are using to use ParseBin.
; If you use nginx or other webserver, delete semicolon ; if you use nginx or other webserver, delete semicolon
; webserver = "nginx" ; webserver = "nginx"
[expire] [expire]

View File

@ -52,7 +52,7 @@ class Configuration
'icon' => 'identicon', 'icon' => 'identicon',
'cspheader' => 'default-src \'none\'; manifest-src \'self\'; connect-src *; script-src \'self\'; style-src \'self\'; font-src \'self\'; img-src \'self\' data:; referrer no-referrer;', 'cspheader' => 'default-src \'none\'; manifest-src \'self\'; connect-src *; script-src \'self\'; style-src \'self\'; font-src \'self\'; img-src \'self\' data:; referrer no-referrer;',
'zerobincompatibility' => false, 'zerobincompatibility' => false,
'webserver' => 'apache', 'webserver' => 'Apache',
), ),
'expire' => array( 'expire' => array(
'default' => '1week', 'default' => '1week',