Quantcast
Channel: Nginx Forum
Viewing all articles
Browse latest Browse all 53287

Re: nginx rewrite ?&

$
0
0
К сожалению и с args тоже не заработал. Пробовал вот так:

if ($args ~* ^&) {
rewrite ^ http://$host permanent;
}

if ($args ~* "^&") {
rewrite ^ http://$host permanent;
}

if ($args ~* "^\&") {
rewrite ^ http://$host permanent;
}

Viewing all articles
Browse latest Browse all 53287

Trending Articles