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

Changing log_format proxy default location #3810

Merged

Conversation

Brendon-Mendicino
Copy link
Contributor

@Brendon-Mendicino Brendon-Mendicino commented Jun 16, 2024

This is useful when some user would want to change the default log format for each of the service, without the need of creating a new log_format custom and changing the access_log for each service.

The reason why I've added a log.conf in the /etc/nginx/conf.d/include directory is that it is easily overridable using a docker mount, like

volumes:
  - ./custom_log.conf:/etc/nginx/conf.d/include/log.conf:ro

close #714

This is useful when some user would want to change the default
log format for each of the service, without the need of creating a
new `log_format custom` and changing the `access_log` for each
service.
@nginxproxymanagerci
Copy link

Docker Image for build 1 is available on DockerHub as jc21/nginx-proxy-manager:github-pr-3810

Note: ensure you backup your NPM instance before testing this PR image! Especially if this PR contains database changes.

@jc21 jc21 merged commit 51414ce into NginxProxyManager:develop Jun 25, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

log_format in advanced tab not working
2 participants