You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
run.sh,sed sed -i "s/worker_processes .*/worker_processes $worker_cnt;/g" conf/nginx.confdoes not work on mac, it should be replaced with sed -i "" "s/worker_processes .*/worker_processes $worker_cnt;/g" conf/nginx.conf on MAC.
apisix when reload, os.execute return 3 values while linux return only 1.
what's more, I suggest change worker_processes \d+ to worker_processes .* in run.sh, because nginx.conf is usually set to worker_process = auto.