We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello, the main class (init.pp) has no autoindex option for configuration. Currently I have no idea to implement the "define" in the main class, because the function create_ressources needs hash values (see https://github.com/jfryman/puppet-nginx/blob/master/manifests/init.pp#L137).
Currently I use the implementation for autoindex in the subclasses of puppet-nginx a string as a option value. I'm looking for a solution. Any idea?
The text was updated successfully, but these errors were encountered:
Hello,
can you give us an example? I am not sure what you try to achieve. It is possible to configure autoindex in context of an location or vhost.
autoindex
location
vhost
Sorry, something went wrong.
As @dhoppe says, it is possible to set autoindex in vhost or location context. I'm going to close this one for now.
Somewhat sanitized hiera example:
nginx::nginx_vhosts: 'foo.example.net': www_root: /var/www/ server_name: - 'foo.example.net' autoindex: 'on'
No branches or pull requests
Hello,
the main class (init.pp) has no autoindex option for configuration. Currently I have no idea to implement the "define" in the main class, because the function create_ressources needs hash values (see https://github.com/jfryman/puppet-nginx/blob/master/manifests/init.pp#L137).
Currently I use the implementation for autoindex in the subclasses of puppet-nginx a string as a option value.
I'm looking for a solution. Any idea?
The text was updated successfully, but these errors were encountered: