From 16df60c765caf02f7f8dfefdf628fa7e3dd464ad Mon Sep 17 00:00:00 2001 From: Marat Budkevich <93652988+marat2509@users.noreply.github.com> Date: Tue, 12 Mar 2024 00:20:44 +0300 Subject: [PATCH] Update default.conf --- nginx/default.conf | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/nginx/default.conf b/nginx/default.conf index 9db1b91..02cb394 100644 --- a/nginx/default.conf +++ b/nginx/default.conf @@ -48,18 +48,16 @@ server { # v8 => v3 rewrite ^(.*) /eset_upd/v3/update.ver break; } - if ($ver ~ "^v1[0-1]$") { - # Versions: v10 -> v11 + if ($ver ~ "^v1[0-3]$") { + # Versions: v10 -> v13 # Rewrite logic: # v10 => v10 # v11 => v10 rewrite ^(.*) /eset_upd/v10/dll/update.ver break; } - if ($ver ~ "^v1[2-5]$") { - # Versions: v12 -> v15 + if ($ver ~ "^v1[4-5]$") { + # Versions: v14 -> v15 # Rewrite logic: - # v12 => v12 - # v13 => v13 # v14 => v14 # v15 => v15 rewrite ^(.*) /eset_upd/$ver/dll/update.ver break;