Skip to content
New issue

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

Fix indent of autoindex param in server template #1195

Merged

Conversation

jdmulloy
Copy link
Contributor

This fixes the indenting of the autoindex parameter in the server template to be consistent with all the other parameters at the server level.

Before

server {
  listen *:80; 
 
  server_name           example.com;
 
  root /usr/local/www/example.com/; 
  return 301 https://$host$request_uri;
    autoindex off; 
  access_log            /var/log/nginx/example.com_redirect.access.log combined;
  error_log             /var/log/nginx/example.com_redirect.error.log;
}

After

server {
  listen *:80; 
 
  server_name           example.com;
 
  root /usr/local/www/example.com/; 
  return 301 https://$host$request_uri;
  autoindex off; 
  access_log            /var/log/nginx/example.com_redirect.access.log combined;
  error_log             /var/log/nginx/example.com_redirect.error.log;
}

@juniorsysadmin juniorsysadmin added the enhancement New feature or request label Mar 19, 2018
@juniorsysadmin juniorsysadmin merged commit d0af39c into voxpupuli:master Mar 19, 2018
@jdmulloy jdmulloy deleted the jdmulloy/fix_autoindex_indent branch November 13, 2018 22:18
Rubueno pushed a commit to Rubueno/puppet-nginx that referenced this pull request Oct 19, 2020
…x_indent

Fix indent of autoindex param in server template
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants