Created
July 30, 2014 21:49
-
-
Save xXxSPYxXx/79efe3ef8e24b10184c2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
map $http_user_agent $url { | |
~BPC.[4] /eset_upd/v4/update.ver; | |
~BPC.[5] /eset_upd/v5/update.ver; | |
~BPC.[6] /eset_upd/v6/update.ver; | |
~BPC.[7] /eset_upd/v7/update.ver; | |
} | |
server { | |
server_name site.ru www.site.ru; | |
access_log /var/log/nginx/site.ru.access.log; | |
error_log /var/log/nginx/site.ru.error.log; | |
root /var/www/site.ru; | |
location /eset_upd { | |
if ($url) { rewrite ^ $url break; } | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment