Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SOLVED] Re: custom headers + fastcgi
- To: nginx-ru@xxxxxxxxx
- Subject: [SOLVED] Re: custom headers + fastcgi
- From: Konstantin Svist <fry.kun@xxxxxxxxx>
- Date: Mon, 22 Feb 2010 19:58:56 -0800
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=YcD7hbGZ42zQD2R3XeM+kMttE1Senfyl2HvkVvAAzEg=; b=vLayuDvEIOtCEqLtTTF1uxsNU+arLi2u3SHsIrtOSARPWHJhaO1RPy0DOx/v9SRuBa wDDvuh41ddvJguv3plo+WtyprKw0CyfyauvpWR5+N2nuCOU+Du9PbA7B1ELuSPWR59RC H2p/V7XcnpOwGNjXP9a3dy4caQGP0El8I9exg=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=fHjhZfMCSa6hfi3O0JwXSfMP+RrjWcHE3oTzO/wSOT4ksx5opUFWHoHGwr1yrXwlUP RBuGCKMpF8XukXFOWUhfYJtvAA9sGJ7UHhJtb/DQQopFru0LpcZl40V6xL56yxyKEyOI GlODDD8eOcUKmJGev9pMI8hHt/UKMTGifbMgA=
- In-reply-to: <4B833674.6090706@xxxxxxxxx>
- References: <4B833674.6090706@xxxxxxxxx>
On 02/22/2010 05:59 PM, Konstantin Svist wrote:
> С proxy_pass, чтобы получить время nginx сервера на бэкенде, я использую
> proxy_set_header MyCo-Timestamp $msec;
>
> Можно ли такое-же проделать с fastcgi_pass?
>
>
Всего лишь нужно добавить
fastcgi_param HTTP_MYCO_TIMESTAMP $msec;
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru
|