aboutsummaryrefslogtreecommitdiffstats
path: root/src/server/plugins-available
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xsrc/server/plugins-available/nginx_plugin.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/plugins-available/nginx_plugin.inc.php b/src/server/plugins-available/nginx_plugin.inc.php
index 69416b9..5c77632 100755
--- a/src/server/plugins-available/nginx_plugin.inc.php
+++ b/src/server/plugins-available/nginx_plugin.inc.php
@@ -1192,7 +1192,7 @@ class nginx_plugin {
$date = date("YmdHis");
//* TODO: check if is a symlink, if target same keep it, either remove it
if(is_file($key_file)) {
- $app->system->copy($key_file, $key_file.'.old'.$date);
+ $app->system->copy($key_file, $key_file.'.old.'.$date);
$app->system->chmod($key_file.'.old.'.$date, 0400);
$app->system->unlink($key_file);
}