LoginSignup
0
0

More than 1 year has passed since last update.

nginx: [emerg] zero size shared memory zone "one"

Posted at
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: [emerg] zero size shared memory zone "one"
nginx: configuration file /etc/nginx/nginx.conf test failed

上記エラーはlimit_req_zoneが定義されていない場合にエラーが発生します

nginx.conf
http{
    ...
    limit_req_zone $remote_addr$http_x_forwarded_for zone=one:10m rate=100r/s;
    ...
}
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0