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:
Michael Kaufmann (d00p)
2013-03-09 16:59:33 +01:00
parent b84bd2017c
commit 2a48c2b598
3 changed files with 9 additions and 7 deletions

View File

@@ -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;
}