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

what is simplest way to convert Request-URI to lowercase? (no replies)

Hello,We are using nginx heavily. We need to rewrite all request URIsinto lowercase, e.g,http://foo.bar/ThiS_will_be_Rewritten/?q=Foobarwill be translated...

View Article


NGINX perl module to server files (2 replies)

Hello,I have created perl NGINX module to server static files on the NGINX(mainly images). For security reasons I am generating the AES:CBC encryptedurl which I am decrypting on the NGINX and serving...

View Article


SSL certificate chain (6 replies)

Hi,I am trying to configure nginx 1.4.1 (using OpenSSL 1.0.1e) with a PEM encoded certificate file that contains the whole chain, 3 including Root CA. But I can not get it to work. I have followed...

View Article

"Idiomatic" Gallery3 configuration (no replies)

Hello world,I've looked around the net for quite some time to find a suitableconfiguration for nginx that allows me to run Gallery3 with php-fpm.Unfortunately, the search results weren't that helpful....

View Article

Transforming nginx for Windows (1 reply)

Working on getting real high performance with nginx under windows I am rewriting code and already got around the fd_setsize issue following...

View Article


mail proxy to 3rd party using ssl (1 reply)

I am setting up nginx as POP3 mail proxy to two 3rd party mail servers. Different domains, one of them uses SSL.Since I do not have that 3rd party's SSL certificate I use my own company certificate in...

View Article

[ANN] ngx_openresty devel version 1.4.2.3 released (no replies)

Hello folks!I am glad to announce that the new development version ofngx_openresty, 1.4.2.3, is now released:http://openresty.org/#DownloadSpecial thanks go to all the contributors for making this...

View Article

upstream keepalive debugging (no replies)

HiI seem to have an issue where the upstream keepalives aren't being re-usedproxy_http_version 1.1;upstream dev1 {server 10.0.0.11 max_fails=0;keepalive 1024;}location /{proxy_pass...

View Article


Return file when it's in cache/check if file exists in cache (no replies)

I'm using ngnix as proxy server. There is a situation when backend server is down and I know about it. Thus I'm adding 'Check-Cache' header to request and what I want to do is get the file when it is...

View Article


proxy buffering for media files? (4 replies)

I'm working on a configuration for an nginx proxy that splits requests between two upstream servers. The main reason I'm using a proxy is for SSL termination and for redundancy between the two upstream...

View Article

Nginx + Circus + chaussette (no replies)

HelloI am using Nginx with Circus. Circus is used with chaussetteVery rarely I am seeing 504 errorNginx error log saysupstream timed out (110: Connection timed out) while reading response header from...

View Article

s-maxage header (no replies)

Hi,What's the easiest way to set the s-maxage header correctly?For example to set s-maxage to 365 days inside a location statement that matches images, JS and CSS files. This is needed so that the...

View Article

a regex for rewrite (2 replies)

I have a set of rewrites asrewrite ^/(.*)/(.*)/(.*)\.(.*) /script.php?a=$1&b=$2&c=$3&ext=$4 last;rewrite ^/(.*)/(.*)\.(.*) /script.php?a=$1&b=$2&ext=$3 last;rewrite ^/(.*)\.(.*)...

View Article


Nginx : Reverse Proxy + Redis (no replies)

Hi,I have an existing Nginx setup up and running to get an reverse proxyworking with caching support(Nginx InMemory). I have integrated it withLUA to get somecustomizations for changing request as per...

View Article

Location_Capture_By_Lua and Reverse Proxy Cache (no replies)

Hi,Was trying to get hold of the response recieved through upstream serveror through nginx cache . However found that thier's no cache hit whendoing this way .for brevity just posting the relevant code...

View Article


proxy_ignore_headers Cache-Control + Set-Cookie do not work both (no replies)

Hi,in a reverse-proxy setup I want to ignore "Cache-Control:" and "Set-Cookie:" for .css and some more.Each one works perfectly.Pages sent with a cookie are being cached:location ~* \.(css|ico|js)...

View Article

Best way to protect an http service with nginx (possibly encryption?) (no...

Hi -- I'm an nginx newbie who is looking to maybe use nginx to providesecurity for an HTTP service that previously ran in a trusted environment,but that now needs to run on the open web.I was thinking...

View Article


Using if statements in a location block with set (no replies)

Is the following going to work as expected:location /v1/users {rewrite ^/users/(.*)/accounts$ /v1/users/$1/accounts break;if ($server_name = 'js.mydomain.com') {set $backend "api.mydomain.com";}if...

View Article

can i run nginx caching and http server on same box?(newbie) (no replies)

can i run nginx caching and http server on same box?can i set caching per directory and/or per server block?how can i check what is actually being cached? logs?should i place php scripts outside root...

View Article

Turn off Nginx SPDY ? (2 replies)

I want to test non-SPDY vs SPDY performance for Nginx and I have Nginx compiled with SPDY support and it's enabled by adding to listen directive the spdy option as per...

View Article
Browsing all 7229 articles
Browse latest View live


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