-
Notifications
You must be signed in to change notification settings - Fork 341
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
debops.nginx there is no way to create a custom log_format #83
Comments
Sure, sounds like good idea. Although, perhaps the log formats could be managed globally in |
I think that here it is not quite rightly written. If you look at the official documentation. https://nginx.ru/en/docs/http/ngx_http_log_module.html debops/ansible/roles/debops.nginx/templates/etc/nginx/sites-available/default.conf.j2 Lines 208 to 219 in 1250d75
|
The |
if log_format is created in the folder conf.d, then this line should be higher access_log
|
The current configuration does not allow changing the format of the log.
Because format must be specified before the line indicating the path to the log.
I think I can create a variable with the right conditions.
in this file
debops/ansible/roles/debops.nginx/templates/etc/nginx/nginx.conf.j2
Lines 40 to 44 in 9222ec6
The text was updated successfully, but these errors were encountered: