Just realized that even if I enable the ports through the AWS security group I still can’t access the default HTTP/S ports …
is this by default or a configuration mistake?
$ curl http://localhost
curl: (7) Failed to connect to localhost port 80: Connection refused
works fine with http://localhost:8001
so, the “default action” is actually open the ports in the nginx configuration right?
it seems is not straight forward… just looked into
/usr/local/kong/nginx.conf
and /usr/local/kong/nginx-kong.conf
and found no command lines to un-comment (or at least I was expecting something like that)
Can anyone share what’s the best procedure to enable Kong on ports 80/443 by default on a brand new 12.2 AWS Marketplace image
?
I’ve tried to change both nginx.conf
and nginx-kong.conf
but every time I do kong reload
it simply erases the changes back to the default ones