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

Persistent connections timeout (keepalive on upstream) (5 replies)

The short question is how can be set the timeout for an upstream for persistent connections (using keepalive) - looks like they never timeout.Details:I have a configuration where i need to setup a...

View Article


php server side events [sse] (1 reply)

I have several virtual servers operating with php-fpm perfectly fine.Buffering/caching with Wordpress is great. But now...I'm trying to implement a new site that uses php for server-side eventsto...

View Article


nginx dockerfile. (no replies)

Hi,I checked nginx code repository as well as Internet to see if I canget a Dockerfile to build nginx. I got a few references (likehttps://github.com/dockerfile/nginx) but those are essentially to_run_...

View Article

[Announcement] New book about Nginx (4 replies)

Hi everyone!I would like to announce that a new book about nginx called 'Nginx Essentials' that I was working on the last 6 months has been published and is now available in E-stores worldwide,...

View Article

What cause the error for this http/https wordpress configuration file? (1 reply)

I can not open any link except http://example.com/readme.txt with following server block.Any tips?server {listen 80 default_server; ## listen for ipv4; this line is default and impliedlisten [::]:80...

View Article


Raw socket answer (non-http request reply) (1 reply)

i have to handle raw socket connections in simple manner: anyconnection to specific port should be served with predefined data(text string), without http headers, wrappings, etc.Is it possible to do...

View Article

Why is NGINX serving a 404 here? (1 reply)

I have a pretty standard test nginx configuration file (/etc/nginx/sites-available/default) that was configured to serve a sample html document.Here's the modified portion of the configuration...

View Article

Implementing proxy_cache_lock when updating items (no replies)

Hello,I am currently implementing a caching proxy with many short-lived items, expiring at a specific date (Expires header set at an absolute time between 10 and 30 seconds in the future by the...

View Article


DocumentRoot should end up on specific file ! (2 replies)

Hi,We want nginx vhost to access the file audo_portal.php without specifyingit,i.e instead of using URL http://domain.com/audio_portal.php , can weaccess it with http://domain.com ? So it'll directly...

View Article


How to cache js/css request containing a question mark? (1 reply)

Following nginx configuration in a server block can cache js and css files with "js" or "css" as the end of the url.location ~ .*\.(js|css)?$ {expires 7d;}But it can't cache request such as:http:...

View Article

[ANN] Nginx-Clojure v0.4.2 (no replies)

Nginx-Clojure 0.4.2 (2015-08-31)1. New Feature: Support Sente (issue #87, see this PR (https://github.com/ptaoussanis/sente/pull/160)) )2. New Feature: Per-message Compression Extensions (PMCEs) for...

View Article

Parsing HTTP Response (no replies)

I have been using Tengine's health check and it does not support parsing the health check response (like what commercial Nginx provides).Is there any other third party module which I can use to parse...

View Article

dynamically rate_limit ? (no replies)

Hi folks,I'm after a way to dynamically adjust bandwidth in nginx.Current vhost setup is:maximum connections 10max connection per client ip = 2maximum rate per connection = 8MbitIdeally, 5 clients x 2...

View Article


nginx v1.8.0 / redirects (1 reply)

How do I best:1.> redirect <domain> > www.<domain>a.) if www is already present, skip to step 22.> redirect http://www.<domain> request > https://......??????? Thanks.-...

View Article

ABout setting cookie to capture j_username and j_password (no replies)

Hi,We are using NGINX as proxy server and redirecting to amazon ELB to access Agile application. we are unable to access application because j_username & j_password are not sent with cookie to...

View Article


How to send all these requests to the same file when I have an Angular state...

I'm using the Angular ui-router which uses states to control the routes.Meaning that all request should serve the same index.html file, and the JavaScript worries about loading in appropriate...

View Article

How to edit url and pass forward to wsgi? (3 replies)

Hello,If I have the following directive:location ~ /staging/dog/.*/info/cat {rewrite /staging/(.+) /$1 break;include uwsgi_params;uwsgi_pass 127.0.0.1:3130;}then a call to...

View Article


logging access in stream module (no replies)

hi,is there a way to log access (ip, date, size of payload) within the stream-module?i found error - log configurable for the stream only so far.cheers,mex

View Article

gzip disrupts users? (1 reply)

Over the years, whenever I've enabled gzip compression on my webserver I've seen website conversions drop. I just enabled compressionon nginx again and I noticed conversions drop again:gzip...

View Article

Nginx as a reverse caching / load balancing solution - verification of setup...

Good day Guys.I would like to ask if someone could please verify my configs :http://pastebin.com/8Xk63RYDhttp://pastebin.com/EfNSpvMVI have a Nginx server sitting in front of two Apache servers.I'm...

View Article
Browsing all 7229 articles
Browse latest View live


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