Answer the question
In order to leave comments, you need to log in
How to do a reverse regex?
There is a redirect in nginx from the main to the mobile:
if ( $http_user_agent ~* (windows\smobile|windows\sce|iphone|ipod|midp|symbian|series\s60|s60|nokia|аndroid|blackberry) ){ rewrite ^/(.*) m.site.ru/$1 permanent; }
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question