Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: конфиг с POST можно ли опт имизировать ?
- To: nginx-ru@xxxxxxxxx
- Subject: Re: конфиг с POST можно ли опт имизировать ?
- From: "hg_04" <nginx-forum@xxxxxxxx>
- Date: Tue, 06 Jul 2010 06:59:34 -0400
- Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mickey.jlkhosting.com; s=x; h=Sender:From:References:In-Reply-To:Message-ID:Content-Transfer-Encoding:Content-Type:Subject:To:Date; bh=JfPGmjtKr12KsMBQEE3F8Gliqq4xrYOVjHSzECl5MCI=; b=XcXTPXI64WsStULQiTorRFieCa0lBunbiSJ19v7fDjoIS2BiEHsWIhH5YTExxr+ibZdYfikPAnP6aBs2yAYBSB7WN7Ksf6oGWE8KEFfHNmF39QK3BlfujdiS7mrq4AdH;
- In-reply-to: <4C3301F0.6050705@xxxxxxxxx>
- References: <4C3301F0.6050705@xxxxxxxxx>
в даном случае можно проще
[code]
location / {
root $root;
index index.html index.htm ;
location = /post {
# сработает только для /post
# и тут уже с бэкендом работаем
}
}
[/code]
Posted at Nginx Forum:
http://forum.nginx.org/read.php?21,105839,105849#msg-105849
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru
|