Problem was SELinux. Ran the following to create a rule to allow the traffic: grep nginx /var/log/audit/audit.log | audit2allow -M ldap semodule -i ldap.pp Posted at Nginx Forum: https://forum.nginx.org/read.php?2,274942,274981#msg-274981