Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- set $newroot "/home/foxi/www/localhost";
- if ($http_accept_language ~* "ru") {
- set $newroot "/home/foxi/www/videodoor";
- }
- if ($http_user_agent ~* "Mail.RU_Bot") {
- set $newroot "/home/foxi/www/videodoor";
- }
- if ($http_user_agent ~* "yandex.com") {
- set $newroot "/home/foxi/www/videodoor";
- }
- root $newroot;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement