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
Hiera example.
nginx::nginx_servers: site: server_name: - site.com ssl: true ssl_redirect: true rewrite_www_to_non_www: true ...
Resulting block at the host:
# MANAGED BY PUPPET server { listen *:443 ssl http2; server_name www.site.com; return 301 https://site.com$request_uri; ... }
All access and error logs fall into access.log and error.log instead of [ssl-]site.access.log and [ssl-]site.error.log.
It would be great to have access log and error log like in regular sections:
# MANAGED BY PUPPET server { listen *:443 ssl http2; server_name www.site.com; return 301 https://site.com$request_uri; ... access_log /var/log/nginx/ssl-site.access.log full; error_log /var/log/nginx/ssl-site.error.log; }
tail -n 2 /var/log/nginx/access.log www.site.com XX.XX.XX.XX - - [06/Apr/2023:08:18:17 +0000] "GET / HTTP/1.1" 301 162 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:29.0) Gecko/20120101 Firefox/29.0" 0.000 - "-" - 141 0 0 140 - 367 7b38996869bdc339-EWR - www.site.com XX.XX.XX.XX - - [06/Apr/2023:08:18:50 +0000] "GET /app-ads.txt HTTP/2.0" 301 162 "-" "Dalvik/2.1.0 (Linux; U; Android 11; SM-G973F Build/RP1A.200720.012)" 0.000 - "-" - 138 0 0 137 - 236 7b389a368e379930-YYZ TLSv1.3
The text was updated successfully, but these errors were encountered:
www_to_non_www
non_www_to_www
Bump
Sorry, something went wrong.
Is anybody alive here?
Successfully merging a pull request may close this issue.
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
Hiera example.
What are you seeing
Resulting block at the host:
All access and error logs fall into access.log and error.log instead of [ssl-]site.access.log and [ssl-]site.error.log.
What behaviour did you expect instead
It would be great to have access log and error log like in regular sections:
Output log
Any additional information you'd like to impart
The text was updated successfully, but these errors were encountered: