title: Add rewrite location with Puppet / Nginx provisionner
body: <p>I'd like to use this rule in Nginx config file :</p>
  
  <pre><code>location @rewriteapp {
      # rewrite all to app.php
      rewrite ^(.*)$ /app.php/$1 last;
  }
  </code></pre>
  
  <p>(this rule is used for Symfony framework).
  I used puphpet site to generate vagrant files and I modified default.pp to change the configuration of Nginx Vhost
  I add something like that to create this rewrite rule :</p>
  
  <pre><code>nginx::resource::location { "${server_name}-rewrite":
      location        =&gt; '@rewriteapp',
      www_root        =&gt; $www_root,
      proxy           =&gt; undef,
      rewrite         =&gt; '^(.*)$ /app.php/$1 last;'
  }
  </code></pre>
  
  <p>But I get the following error :
  <code>Invalid parameter rewrite at /tmp/vagrant-puppet-1/manifests/default.pp:267 on node packer-virtualbox.vagrantup.com</code></p>
  
  <p>Is there a way to add rewrite rule to Nginx vhost config with Puppet ?</p>