Update README.md
This commit is contained in:
parent
b091541272
commit
0b15adbfb5
|
|
@ -213,7 +213,7 @@ Trying with the `worker_rlimit_nofile` directive in `{,/usr/local}/etc/nginx/ngi
|
||||||
#### `nolimit` with Systemd
|
#### `nolimit` with Systemd
|
||||||
|
|
||||||
$ mkdir -p /etc/systemd/system/nginx.service.d
|
$ mkdir -p /etc/systemd/system/nginx.service.d
|
||||||
$ nano /etc/security/limits.d/nginx.conf
|
$ nano /etc/systemd/system/nginx.service.d/nginx.conf
|
||||||
[Service]
|
[Service]
|
||||||
LimitNOFILE=30000
|
LimitNOFILE=30000
|
||||||
$ systemctl daemon-reload
|
$ systemctl daemon-reload
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue