How do I rewrite files, but only, if they are in one special folder? (no...
Hi guys, I am new to nginx and I need to do a few rewrites, which I need help with. I currently have this configuration: location ~ \.php5 { root /home/$username/www/; rewrite ^/(.*)\.php5 /$1.php...
View ArticleHost public folder in nginx (1 reply)
Hi, I am using a pre-configured webserver that comes with NGINX-RTMP module (I was having build issues even after installing all required dependencies so I had to download a VM). The config files are...
View ArticleErro 404 Nginx rewrite (no replies)
Hello guys, I have a PS store 1.6.1.2, with Nginx 0.9.8 and php-fpm. It is running almost 100%, just missing the Boleto and Transfer are. When I finish the payment a 404 error is generated. By my tests...
View Articlenginx-1.11.7 (no replies)
Changes with nginx 1.11.7 13 Dec 2016 *) Change: now in case of a client certificate verification error the $ssl_client_verify variable contains a string with the failure reason, for example,...
View ArticleRe: [nginx-announce] nginx-1.11.7 (no replies)
Hello Nginx users, Now available: Nginx 1.11.7 for Windows https://kevinworthington.com/nginxwin1117 (32-bit and 64-bit versions) These versions are to support legacy users who are already using Cygwin...
View ArticleHTTP 403 when using proxy_pass with upstream server block (no replies)
When I reverse proxy to a public echo service, I can make this work using the server name directly, but I get an HTTP 403 if I use an upstream server block pointing to the same domain. Simple Scenario:...
View Articlelimit_req per subnet? (13 replies)
I recently suffered DoS from a series of 10 sequential IP addresses. limit_req would have dealt with the problem if a single IP address had been used. Can it be made to work in a situation like this...
View Articlesetting up a forward proxy for a few specific website only, and block the...
hi All, Newbie to nginx, and been trying to search high and low for this particular way of configuration. Here is what I plan to do 1) Setup a nginx forward proxy, and this particular proxy server will...
View ArticleHow to use Nginx as a proxy for S3 compatible storage with version 4...
Hello, I want to use Nginx as a proxy for private S3 compatible storage (i.e. It isn't s3.amazon.com but has the exactly the same API). I am novice in Nginx so I am not sure if I will explain correctly...
View Articleaccess_logging in the stream block (no replies)
Hello, Just wondering if anyone knows if access_logs are able to be configured in the stream block. We are looking to implement TCP stream which works but also have the requirement of logging the...
View Articlecache worker stops evicting assets (1 reply)
Hello there! we currently have this issue when we restart nginx, the cache zone disk consume rise constantly until we reach the 84h after the restart, here nginx locks and start deleting, after 15-30m...
View ArticleNginx to Nginx TCP Fast Open (3 replies)
Hi, can someone clarify - If TFO is properly enabled on both systems Nginx reverse-proxy and Nginx upstream, will both use it in communication between each other or not. Have a great day, Evgeny
View Articlerewrite cycle (3 replies)
Hi, Below is default foswiki config that falls into "rewrite or internal redirection cycle while processing...
View ArticleSupernet issues in nginx geo !! (2 replies)
Hi, We're using nginx geo module to redirect requests from specific subnets/supernets. If request is coming from following ips, it should be redirected towards caching node : geo $qwilt_user { default...
View Articlengx_stream_ssl_preread_module does not seem to extract the server_name when...
Hello, I would like to use ngx_stream_ssl_preread_module to multiplex between a squid, nginx webserver and ocserv (ssl vpn). I setup nginx the following way: stream { upstream webserver { server...
View ArticleRe: Use nginx ngx_stream_ssl_preread_module to connect to ocserv using proxy...
Hello Nikos, > Are you sure that the nginx module you are using supports the proxy > protocol version 2? you're probably right. Nginx seems to support only version 1 of the proxy protocol because...
View Articlenginx.conf (7 replies)
eneted this in the conf file under http SetEnvIfNoCase User-Agent "^Baiduspider" block_bot Order Allow,Deny Allow from All Deny from env=block_bot but on restart got a error message Job for...
View ArticleWhat's the meaning of Nginx variables of "$tcpinfo_rtt, $tcpinfo_rttvar,...
Hi, all: I want to get the network latency between the users and my Nginx servers on tcp layer. I searched about this and found several Nginx variables bellow: $tcpinfo_rtt, $tcpinfo_rttvar,...
View ArticleHow to config nginx to write the log to log file and standard output? (no...
Hi, Usually nginx writes log to access.log and error.log. How can I config nginx to write the log to these 2 log files and standard output? Thanks Liu Peng...
View ArticleRe: nginx timeout aborting subsequent proxying from upstream block (1 reply)
This is question about configuring nginx so that when you have multiple servers in an upstream block and the first one selected to handle a request "times out" (at default 60s) that we can skip the...
View Article