What is the php dummy file in nginx vhost config

Discussion in 'Server Operation' started by Pichan, Feb 25, 2014.

  1. Pichan

    Pichan New Member

  2. falko

    falko Super Moderator Howtoforge Staff

    Because try_files requires at least two arguments, and because requests should be passed to @php, the first argument must be a non-existing file.
     
  3. Pichan

    Pichan New Member

    I'm guessing there's some advantage to this that I'm not seeing.

    So, why not have the rules from location @php directive inside location ~ \.php$ and skip try_files altogether?
     

Share This Page