Исправление Slack, (текущая версия) :
В секции http
map $http_user_agent $mobile_device {
default '';
'~*android|ip(hone|od) 1;
}
location /catalog {
if ($mobile_device) {
return 301 $scheme://$host/catalog_mobile$is_args$args;
}
proxy_pass ....;
}
Исправление Slack, :
В секции http
map $http_user_agent $mobile_device {
default '';
'~*android|ip(hone|od) 1;
}
location /catalog {
if ($mobile_device) {
return 301 $scheme://$host/catalog_mobile$is_args$args;
}
proxy_pass ....;
Исходная версия Slack, :
В секции http
map $http_user_agent $mobile_device {
default '';
'~*android|ip(hone|od) 1;
}
location /catalog {
if ($mobile_device) {
return 301 $scheme://$host/catalog_mobile$is_args$args;
}