how do we know if we are generating logs in nginx code example Example: where are nginx logs? # By default, located at: /var/log/nginx/error.log