383 / 5.000
Resultados de tradução
Hello, I would like to know the code to redirect a subdomain to mobile,
could anyone help me?

ex:RewriteCond %{HTTP_USER_AGENT} "ipod|iphone|ipad|android|palm" [NC]

RewriteRule (.*) http://m.yoursite.com.br/[R=301,L]

  This one I used in .htaccess in openlitespeed, now I use nginx and the
rules are different. I would like to know how to do this redirection in
nginx.

Posted at Nginx Forum: 
https://forum.nginx.org/read.php?2,295879,295879#msg-295879

_______________________________________________
nginx mailing list -- nginx@nginx.org
To unsubscribe send an email to nginx-le...@nginx.org

Reply via email to