SHARE
TWEET

Untitled

a guest Oct 23rd, 2019 1,843 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. set $newroot "/home/foxi/www/localhost";
  2.  
  3. if ($http_accept_language ~* "ru") {
  4. set $newroot "/home/foxi/www/videodoor";
  5. }
  6.  
  7. if ($http_user_agent ~* "Mail.RU_Bot") {
  8. set $newroot "/home/foxi/www/videodoor";
  9. }
  10.  
  11. if ($http_user_agent ~* "yandex.com") {
  12. set $newroot "/home/foxi/www/videodoor";
  13. }
  14.  
  15. root $newroot;
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top