Quantcast
Channel: Nginx Forum
Browsing all 53287 articles
Browse latest View live

[nginx] Use "void" for functions with empty parameter list.

details: http://hg.nginx.org/nginx/rev/15a7deeaa19abranches:changeset: 5225:15a7deeaa19auser: Sergey Kandaurov <pluknet@nginx.com>date: Thu May 23 15:47:58 2013 +0400description:Use "void" for...

View Article


Re: Обработка ответов от бэкэнда

> Как сохранить или передать другому серверу ответ (заголовок и тело) от> бэкэнда при определенных условиях (например, код ошибки 500+)?Промежуточный прокси с формирователем...

View Article


[nginx] Memcached: stricten header validation.

details: http://hg.nginx.org/nginx/rev/a30ea5c6451dbranches:changeset: 5226:a30ea5c6451duser: Ruslan Ermilov <ru@nginx.com>date: Thu May 23 16:26:10 2013 +0400description:Memcached: stricten...

View Article

Override Content-Type header with proxied requests

Hi !!i have a Nginx server that operates as a reverse proxy to a my bucket in Amazon S3.Amazon S3 service could deliver contents with wrong Content-Type header,so i would like to override this header...

View Article

Re: Override Content-Type header with proxied requests

Here's a thread I started on this a while back. I didn't get any replies.http://mailman.nginx.org/pipermail/nginx/2011-September/029344.htmlJonathan--Jonathan Matthews // Oxford, London,...

View Article


How to tell nginx to check dead backend in upstream adaptively?

Hi,Currently nginx will check every fail_timeout (default=10s) which is toofrequent when the backend server dead completely that require manuallyreplacement and it might take long time.Definitely we...

View Article

Re: Override Content-Type header with proxied requests

Try this.At the http level define a map directive that maps upstream Content-Typesto the correct ones.map $upstream_content_type $s3_content_type {# S3 -> real...}On the location that proxy...

View Article

Re: [PATCH] OCSP stapling: better handling of successful OCSP responses.

Hello!On Tue, May 21, 2013 at 05:17:52PM -0700, Piotr Sikora wrote:[...]> # HG changeset patch> # User Piotr Sikora <piotr@cloudflare.com>> # Date 1369181290 25200> # Node ID...

View Article


Re: Override Content-Type header with proxied requests

Oops it's $upstream_http_content_type instead. Should read:map $upstream_http_content_type $s3_content_type {# S3 -> real...}----appaOn Thu, May 23, 2013 at 5:24 PM, António P. P. Almeida...

View Article


Re: Updated cross-reference (LXR)

If somebody wants cross reference for other versions, here you can find for almost all versions on nginx http://osxr.org/ngx/source

View Article

[nginx] Core: strengthen configuration syntax checker.

details: http://hg.nginx.org/nginx/rev/ea41bba49e8abranches:changeset: 5227:ea41bba49e8auser: Valentin Bartenev <vbart@nginx.com>date: Thu May 23 20:30:27 2013 +0400description:Core: strengthen...

View Article

Re[2]: Обработка ответов от бэкэнда

Здравствуйте, F1restorm.> Как сохранить или передать другому серверу ответ (заголовок и тело) от> бэкэнда при определенных условиях (например, код ошибки 500+)?> Вариант с отладочными логами...

View Article

Re: streaming request

On Tue, May 21, 2013 at 05:33:29PM +0400, Maxim Dounin wrote:> Hello!>> On Tue, May 21, 2013 at 08:28:19AM -0400, pgte wrote:>> > Hi,> >> > I'm trying to do a streaming...

View Article


NGINX error log format documentation

Hey!I want to parse NGINX error logs. However, I did not find anydocumentation concerning the used log format. While the meaning of somefields like the data is pretty obvious, for some it is not at...

View Article

Re: NGINX error log format documentation

On Thu, May 23, 2013 at 08:47:42PM +0200, Jan Teske wrote:Hi there,> I want to parse NGINX error logs. However, I did not find any> documentation concerning the used log format.less...

View Article


Re: HttpAccessModule and unix domain sockets

On Wed, May 22, 2013 at 05:49:41PM +0400, Maxim Dounin wrote:> On Tue, May 21, 2013 at 10:27:21PM +0300, Sorin Manole wrote:>> > Hi all,> >> > It seems that when using...

View Article

Rewriting

Hi,I use opencart with nginx+php-fpm. Sometimes it is necessary to redirect all clients, except admin (190.212.201.0/24), to "Service unavailable" page which is simple index.html file with logo,...

View Article


Re: Re[2]: Обработка ответов от бэкэнда

> Объедините бэкенды в апстрим и тогда если один бэкенд упадёт или> вернёт ошибку, то запрос будет повторно отправлен на следующий бэкенд.не, TS надо получить тело ошибки, и обработать его...

View Article

Hello, new user here

Hello,I have some issues with my nginx. It's related to forbidding hotlinking of my images to other websites. Since I host a lot of images I get a lot of my bandwidth leached . I will ask question i...

View Article

nginx conf access rule blocking certain url's

We have url's like this: /demand/change_db_value/18050/13/.80/0/costNotice the /.80In our nginx conf for our site we have this access rule: location ~ /\.ht { deny all; log_not_found off; access_log...

View Article
Browsing all 53287 articles
Browse latest View live