Rerouting based on content-type of request (1 reply)
I'm having a reverse-proxied Nginx server. I wanted to know if it is possible to redirect the request in Nginx based on the content-type of the request?Right now, I'm checking the URL for a keyword,...
View Articleconnection timeout on download server (no replies)
HiI have an nginx setup on multiple download servers. I've setup a monitor server to check my servers at interval and when the servers seem to be at their peak I get connection timeout from my servers....
View Articletry_files and proxypass (1 reply)
Hi,I came across such configs and I am curios to know what @app_$dc; matches in location configs?try_files $uri @app_$dc;location @app_prod { proxy_pass http://app_prod;}location @app_qadc { proxy_pass...
View Articlenginx configuration for SemanticScuttle??? (no replies)
Greetings,I have several Web applications running on a Centos 6.6 server.I am migrating them from Apache to Nginx. Apache is stillrunning, so I'm running nginx on port 81 for now.The general setup is...
View Articlecan't cache javascript file from proxy (no replies)
Hi,I have a problem with cache javascript file from a proxy glassfish4.0 Server.My nginx.conf is this:___________________________user nginx nginx;error_log /var/log/nginx/error.log warn;pid...
View ArticleZeroconf for proxy to upstream servers (no replies)
Does Nginx support any sort of zeroconf in its proxying to upstream servers? I would like to make the backend publish themselves via something like zeroconf. Nginx should route traffic to them when...
View Articleis possible to using same upstream in "mail", "http" and "stream" block? (1...
is possible to using same upstream* module in "mail", "http" and "stream" block?
View Articlessl_password_file on nginx 1.8.0 (no replies)
Hello,I cannot manage to load a certificate protected wit ha password on nginx1.8.0:[emerg] 2331#0: SSL_CTX_use_PrivateKey_file("/etc/ssl/private/domain.key")failed (SSL: error:0906406D:PEM...
View ArticleNGinx as a reverse proxy and http_sub_folder module (and httpsubs) (no replies)
I am trying to reverse proxy my website and modify the content. To do so, I compiled nginx with sub_filter --with-http-sub_module as well as httpsubs . It now accepts the sub_filter directive, but it...
View ArticleProxy non persistent client connections to persistent upstream connections...
I would like to be able to proxy non persistent client http connections topersistent upstream connections on a Linux system, both to reduce thenumber of connections and the upstream latency.I have...
View ArticleOdd server_name directive behavior (1 reply)
I have an nginx 1.9.0 deploy and I noticed a working config where the namegiven to the server_name directive doesn't match the names in the Hostheaders or the certificate DNs. It looks like a mistake,...
View ArticleNginx & Digest authentication (no replies)
I have a NGINX that sits in front of my application. I have digest authentication enabled for the application. I’d like a set up where when a user connects to NGINX using Digest, NGINX simply proxies...
View Articleproxy_set_header concatenated value (1 reply)
hi,I want to pass the following header to the backend server:name: X-Original-URLvalue: $scheme://$host$request_uribut the concatenation of the values for the value above do not seem to work.how can I...
View ArticleRedirect from HTTP to HTTPS does not work (1 reply)
This is my configuration:server {listen 80;server_name shell.*;return 301 https://$server_name$request_uri;}server {listen 443 ssl;server_name shell.*;location / {proxy_pass...
View ArticleNginx serving self-signed cert instead of the one defined in conf (3 replies)
Hello,I'm facing a strange issue since I upgraded from Nginx 1.6.2 to 1.8.0. My configuration files have been kept identicals, as well as my official SSL certificates.The problem is Nginx keeps on...
View ArticleShould we add php-fpm for each Virtual Host or in Global Configuration ? (1...
This is my configuration for my Virtual Host. I am not sure, but is this the ideal way of defining things ?For every domain / sub-domain, i'm adding a location ~/.php directive. Should i add it in the...
View ArticleUsing Nginx with chunking (1 reply)
Hello,I have nginx configured to send files in chunks to remote clients. The clients will contact the server to send it in chunks of 1 MB each. I am using nginx version...
View Article[ANN] OpenResty 1.9.3.1 released (no replies)
Hi folks!I am glad to announce the new formal release, 1.9.3.1, of theOpenResty bundle:https://openresty.org/#DownloadThis is the first OpenResty formal release includes an NGINX 1.9.xcore. For...
View Article[ANN] Nginx-Clojure v0.4.1 Release! (no replies)
0.4.1 (2015-08-12)New Feature: Coroutine based socket supports unix domain socketNew Feature: APIs for Embedding Nginx-Clojure into a standard Clojure/Java/Groovy App (issue #86). This feature makes...
View ArticleProblem with uwsgi_no_cache (1 reply)
Hi all -I'm attempting to exclude application/json data from storing in nginx's cache. All other content types are OK to cache. I thought that the below config would work for me, but nginx is still...
View Article