I want to redirect IE users to a static file, regardless of what page they were trying to reach.
My code is inside a server block:
if ($http_user_agent ~* msie ) { rewrite ^.+$ /msie.html last; }
No matter what I try, I either get a 404 or a 500 Internal Server Error. Am I doing this correctly?