Yum installation directory: yum install way
rpm -ql nginx
Detailed below to start the installation directory