Skip to content

Commit

Permalink
Update default.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
marat2509 authored Mar 11, 2024
1 parent 92fb0bd commit 16df60c
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions nginx/default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 16df60c

Please sign in to comment.