Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is already possible through location_custom_cfg with a manifest that looks like: nginx::resource::location { 'location name': location => '/', vhost => 'any vhost', location_custom_cfg => { 'try_files' => '$uri $uri/ @rewrite', } } This change simplifies the part by allowing to use the try_files directive on its own (without only in combination with, e.g., www_root): nginx::resource::location { 'location name': location => '/', vhost => 'any vhost', try_files' => [ '$uri', '$uri/', '@rewrite' ], } That looks a bit better as know the user doesn't need to think about, if he can use try_files or need to use location_custom_cfg in the current context, anymore. fixes voxpupuli#470
- Loading branch information