Re: Redirect of permalinks in Wordpress.

2017-10-30 Thread JoakimR
It look to me like you are redirecting from 1 to 1 :/ but, i'll remember it like there is a wp plugin for this have you searched on wp? Posted at Nginx Forum: https://forum.nginx.org/read.php?2,277107,277152#msg-277152 ___ nginx mailing list nginx

Re: Resolver not re-resolving new ip address of an AW ELB

2017-10-30 Thread pan...@releasemanager.in
you have two choices if the variable use is not working and you specifically need to use upstream config option. 1. Subscribe to Nginx Plus. 2. Compile this module along with Nginx .. https://github.com/aziontech/nginx-upstream-dynamic-servers I have personally used this module and it works. Po

Re: Resolver not re-resolving new ip address of an AW ELB

2017-10-30 Thread Nishikubo Minoru
Hello, I checked my old note and configured as follows, but I doubt myself that will help you... - Configured the resolver of internal reverse proxy to internal ALB/ELB to AWS dedicated DNS server. - Configured the resolver cache 30 seconds. - Set proxy_pass arguments to ALB/ELB endpoint names.

Re: Apply nginx rate limits to certain IP addresses, and another rate limit to others

2017-10-30 Thread stuwat
Or should it be more like this? geo $limited_net { default 0; 111.222.333.444 1; } map $limited_net $addr_to_limit { 0 ""; 1 $binary_remote_addr; } limit_req_zone $addr_to_limit zone=two:10m rate=15r/m; limit_req_zone $binary_remote_addr; zone=three:10m rate=25r/m; Posted at

Re: Resolver not re-resolving new ip address of an AW ELB

2017-10-30 Thread RKGood
Can someone help please. We been having issues everyday and left with no other options to try Posted at Nginx Forum: https://forum.nginx.org/read.php?2,277101,277132#msg-277132 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/lis

Apply nginx rate limits to certain IP addresses, and another rate limit to others

2017-10-30 Thread stuwat
In our Nginx config we currently have this:- limit_req_zone $binary_remote_addr zone=two:10m rate=15r/m; limit_req zone=two burst=5 nodelay; Now we want to change this so that this rate limit applies to certain IP addresses, and then have another rate limit that applies to others that is slightly

Re: [Module] ngx_http_gzip issue : unknown directive "gzip"

2017-10-30 Thread Zhang Chao
Hi! gzip is a directive defined by ngx_http_gzip_filter_module while you only link the ngx_http_gzip_static_module. On 30 October 2017 at 18:34:15, nik mur (nikhil6...@gmail.com) wrote: *http_ssl_module* ___ nginx mailing list nginx@nginx.org http://m

[Module] ngx_http_gzip issue : unknown directive "gzip"

2017-10-30 Thread nik mur
Hi, Recently I upgraded my nginx to 1.12 version from 1.10 branch. The build from source went through without any issues, but while starting Nginx I am receiving this error: *>>[emerg] 342#342: unknown directive "gzip" in /usr/local/apps/nginx/etc/conf.d/gzip.conf:2* GZIP was working fine on 1.