I am trying to add a mapping to change the url being shown with every location. 
Do you know if this is possible since an error is being encountered on the 
mapping.

    map $geoip2_data_country_code $leovegas_com_index_file $request_uri $new {
      default /index-en.html default 0;
      MT /en-desktop.html ~^/tony/ maintenance.tony;
    }

nginx: [emerg] invalid number of arguments in "map" directive in 
/etc/nginx/nginx.conf:91

Thanks & Regards,
Tony
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to