Closed ktalebian closed 5 years ago
When running use Test::Nginx::Socket, it uses nginx to start the server. However, on this computer, nginx is pure nginx without the openResty platform. I need it to use openresty instead of nginx.
use Test::Nginx::Socket
nginx
openresty
How can I do that?
Found the answer as soon as I opened this question
TEST_NGINX_BINARY=openresty prove t/test.t
When running
use Test::Nginx::Socket
, it usesnginx
to start the server. However, on this computer,nginx
is pure nginx without the openResty platform. I need it to useopenresty
instead ofnginx
.How can I do that?