Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Подделка User-Agent
- To: nginx-ru@xxxxxxxxx
- Subject: Подделка User-Agent
- From: "justcyber" <nginx-forum@xxxxxxxx>
- Date: Wed, 26 Sep 2012 11:10:35 -0400
- Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tigger.jlkhosting.com; s=x; h=Date:Sender:From:Message-ID:Content-Transfer-Encoding:Content-Type:Subject:To; bh=YYAiLHxuEMwsGcpaQWwt5A1S7p5KSsR7ayhFVfRbNQ0=; b=Zf1WM5wBt245ShNDNGDfImr660IZhJoNyw14tHH5SH2iiSxP1b61lW/aYRWgEGvM0acEuxWyr5J7zXsXCgLTiKBOphqO7tyb1WU2F4bpENbw6tm0oLuARdr7eJrxM5/M;
Есть конструцкия вида:
location / {
proxy_pass http://127.0.0.2:81;
proxy_redirect http://127.0.0.2:81/ /;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For
$proxy_add_x_forwarded_for;
proxy_set_header X-Real-IP $remote_addr;
Задача задать определенный User-Agent с которым оно будет ходить к
127.0.0.2:81
Как это можно зделать?
Posted at Nginx Forum:
http://forum.nginx.org/read.php?21,231098,231098#msg-231098
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://mailman.nginx.org/mailman/listinfo/nginx-ru
|