fix fpm-description in english langfile; make --force command really force a regeneration of the config files by inserting the task; beautify nginx customer vhost
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
@@ -654,7 +654,7 @@ class nginx
|
||||
$this->_deactivated = false;
|
||||
}
|
||||
|
||||
$webroot_text.= "\t".'location / {'."\n";
|
||||
$webroot_text.= "\n\t".'location / {'."\n";
|
||||
$webroot_text.= "\t\t".'index index.php index.html index.htm;'."\n";
|
||||
$webroot_text.= "\t\t" . 'try_files $uri $uri/ @rewrites;'."\n";
|
||||
|
||||
@@ -665,8 +665,8 @@ class nginx
|
||||
|
||||
$webroot_text.= "\t".'}'."\n\n";
|
||||
$webroot_text.= "\tlocation @rewrites {\n";
|
||||
$webroot_text.= "rewrite ^ /index.php last;\n";
|
||||
$webroot_text.= "}\n\n";
|
||||
$webroot_text.= "\t\trewrite ^ /index.php last;\n";
|
||||
$webroot_text.= "\t}\n\n";
|
||||
|
||||
return $webroot_text;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user