5 |
my $version = PhpFpmVersionToUse($ibay); |
my $version = PhpFpmVersionToUse($ibay); |
6 |
my $name = lc $key; |
my $name = lc $key; |
7 |
my $FilesMathes = ( ($ibay->prop('AllowPHTML') || 'disabled') eq 'enabled' ) ? '(xml|phtml|html|htm|php|phar)': '(phar|php)'; |
my $FilesMathes = ( ($ibay->prop('AllowPHTML') || 'disabled') eq 'enabled' ) ? '(xml|phtml|html|htm|php|phar)': '(phar|php)'; |
8 |
+ my $timeout = $ibay->prop('timeout') ||300; #default in the config here. apache default 60 |
+ |
9 |
+ $OUT .= " ProxyTimeout $timeout\n" unless $timeout == 300; |
+ |
10 |
+ |
+ |
11 |
$OUT .=<<"_EOF"; |
$OUT .=<<"_EOF"; |
12 |
SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=\$1 |
SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=\$1 |