Nginx url configuration


I am new to Yii and I use Nginx as the web server. I changed the ‘urlFormat’ to ‘path’ in the ‘urlManager’ component by uncommenting the auto-generated code.

I looked up on the documentation on this site:

But it did not make much sense to me. Can anybody explain to me step by step, so I can use the path format for the URL?

What exactly in that config did not make sense?