Nginx on CentOS and Fedora is usually installed in the directory '/usr/local/etc/nginx/' for configuration files, '/usr/local/sbin/nginx' for the binary files, and '/usr/local/var/log/nginx/' for logs.