Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

Redirect Internet Explorer

$
0
0
I want redirect to another domain users of Internet Explorer but redirect always.

My settings

server {
server_name prueba.midominio.es;
index index.html

access_log /var/log/nginx/prueba-access;
error_log /var/log/nginx/prueba-error;

root /var/www/localhost/htdocs/indes;

if ($http_user_agent ~ MSIE ) {
rewrite ^ http://prueba2.midominio.com$request_uri? permanent;
}
}

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>