Welcome! Log In Create A New Profile

Advanced

Nginx reload problem

August 15, 2013 11:08AM
Hello:

I found that some nginx config option doesn't take effect after
modification with reload, the following is a simple test case:

nginx version: nginx/1.2.7
nginx.conf:
============================
worker_processes 1;
error_log logs/error.log info;

events {
worker_connections 1024;
}

http {
limit_req_zone $arg_a zone=testzone:64m rate=1r/s;

server {
listen 80;

location / {
limit_req zone=testzone burst=2;
alias /;
}
}
}
============================

I change $arg_a to $arg_b in the line 'limit_req_zone $arg_a
zone=testzone:64m rate=1r/s;' then reload nginx, but the change doesn't
take effect, unless I stop nginx manually and start it again.

Is this an expected behavior ? or are there any other nginx config options
that not compatible with reload operation?

Thanks!
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Nginx reload problem

lm011111 August 15, 2013 11:08AM

SAML2.0 support in NGINX

Myla John-B22173 August 15, 2013 12:32PM

Re: Nginx reload problem

Maxim Dounin August 16, 2013 10:10PM

Re: Nginx reload problem

B.R. August 16, 2013 10:18PM

Re: Nginx reload problem

Maxim Dounin August 16, 2013 11:18PM

Re: Nginx reload problem

B.R. August 17, 2013 12:10AM

Re: Nginx reload problem

Maxim Dounin August 17, 2013 07:40AM

Re: Nginx reload problem

B.R. August 17, 2013 12:38PM

Re: Nginx reload problem

Maxim Dounin August 18, 2013 03:16PM

Re: Nginx reload problem

B.R. August 18, 2013 05:32PM

Re: Nginx reload problem

Maxim Dounin August 18, 2013 06:50PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 131
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready