0

Now I am replaced nginx with openresty v1.21.4.1, with legacy nginx I am using this command to reload the nginx config:

service nginx force-reload

what should I do to reload the config without restart openresty? is there any reload command with openresty? I have tried:

[root@k8smasterone conf.d]# service openresty reload
Redirecting to /bin/systemctl reload openresty.service
Failed to reload openresty.service: Unit not found.
[root@k8smasterone conf.d]# openresty -s reload
-bash: openresty: command not found
Dolphin
  • 29,069
  • 61
  • 260
  • 539
  • Did you check https://stackoverflow.com/questions/20418113/call-openrestys-nginx-conf-file-while-running-service-start-stop-restart-nginx? – Saeed Nov 08 '22 at 17:28

0 Answers0