Quantcast
Channel: Nginx Forum - Nginx Mailing List - English
Browsing all 7229 articles
Browse latest View live
↧

Choosing source-address for upstream connections (2 replies)

Is there a way to tell nginx to use a specific address when talking toan upstream?I would like to do something like:upstream bla {server [D0C::1234]:8080 src [D0C::beaf];server 1.2.3.4:8080 src...

View Article


Permissions check (1 reply)

I just updated nginx and was warned about permissions. Are these appropriate:/var/log/nginx:drwxr-x--- root root/var/lib/nginx/tmp and /var/lib/nginx/tmp/*:drwx------ nginx nginx-...

View Article


404s logged in error.log? (5 replies)

I was wondering if someone could confirm that requests resulting in a 404 response are by default logged to error.log at error level "error".Is that normal, or is there some piece of configuration I am...

View Article

Merging equivalent cache keys? (1 reply)

We've got a route which is used to retrieve multiple objects in parallel. The client does a GET on /api/1/station/multi?id=123&id=456&id=789. We cache these in our nginx config:location ~...

View Article

The truth about gzip_buffers? (no replies)

Reading the docs on nginx.org and searching around, it seems there's no consensus on how we should configure gzip_buffers.Some guides say that the total buffer needs to be greater than any file you...

View Article


valid_referers dynamic hostname (no replies)

Sorry for posting here - don't know for sure if it's the right place.I have an issue:1) I use nginx as reverse proxy, but I don't always know the domain name for which I'm serving, so my setup looks...

View Article

nginx cache opendir failed (no replies)

HiOn a Freebsd 9.1 machineNginx 1.4.1opendir() "/var/cache/www/nginx2" failed (13: Permission denied)microcache dir :drwxr-x--x 3 root wheel 512 May 19 17:05 /var/cachedrwxr-xr-x 3 www www 512 May 19...

View Article

[nginx] 1.4.1 + spdy + centos 6 + openssl-1.0.1e (static), firefox 21 ajax...

Hello, on one of my servers, nginx suddenly started crashing on some AJAX-heavy pages when accessed via SSL+SPDY. It seems to happen only when Firefox is the client (tested with Firefox 21), latest...

View Article


Unbuffered requests in a reverse proxy? (1 reply)

HiCan nginx be configured to pass through a reverse proxy request beforeit has been transmitted completely?My set-up is a public facing nginx server accepting file uploads passedto another server via a...

View Article


Nginx balancing mechanism (no replies)

HelloWhat balancing mechanism is used in nginx: connections are balanced, or messages in connections are balanced?

View Article

Can't log/print in header_filter_by_lua (3 replies)

Hi all,I've been experimenting with rewriting 'Set Cookie' headers in anginx-reverse-proxy effort.The Set-Cookie rewrite doesn't seem to work yet, and more importantly, mylog/print statements don't...

View Article

Looking to returning a 302 Redirect if a file is above a certain size... (no...

Hey there,I was looking for some guidance for a project I'm working on.We're looking into CDNs here, and we are specifically looking for a decent origin pull service that also supports denying by...

View Article

streaming request (1 reply)

Hi,I'm trying to do a streaming request that uses chunked encoding that gets forwarded to a back-end node.js http server. In this case the client does not end the request before it gets a response...

View Article


Using http_limit_conn with a custom variable (no replies)

Hi,We're trying to use the limit_conn_zone directive to throttle incomingHTTP requests.We'd like to throttle based on the http basic auth variable($remote_user), however, we must do processing on this...

View Article

NGINX SE vs. Open Source (1 reply)

Hello,on your Site (http://nginx.com/products.html) you are comparing NGINX SE with the Open Source version. The table states "Basic" and "Enhanced" on many core features of NGINX. The SE/"Enhanced"...

View Article


Problem with rewrite regexes when the URL contains a trailing slash...

Hello.I'm having a problem with nginx's rewrite directive.Basically, when the URL contains a trailing point, it is ignored by therewrite regexp.Let's do an example:I load http://uri/something. (with...

View Article

Override Content-Type header with proxied requests (4 replies)

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


How to tell nginx to check dead backend in upstream adaptively? (no replies)

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

NGINX error log format documentation (1 reply)

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

Rewriting (1 reply)

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
Browsing all 7229 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>