Yii Framework Forum: Nginx url configuration - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Nginx url configuration

#1 User is offline   Lu Lin 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 1
  • Joined: 17-October 14

Posted 17 October 2014 - 09:54 AM

Hi,

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:
http://www.yiiframew...nx-config#nginx

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?
0

#2 User is offline   samdark 

  • Having fun
  • Yii
  • Group: Yii Dev Team
  • Posts: 4,879
  • Joined: 17-January 09
  • Location:Russia

Posted 20 October 2014 - 08:08 AM

What exactly in that config did not make sense?
Yii 2.0 Development Cookbook, Yii 1.1 Application Development Cookbook

Enjoying Yii? Star us at github: 1.1 and 2.0.

Support me so I work on Yii fulltime: https://www.patreon.com/samdark
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users