[PR #3810] [MERGED] Changing log_format proxy default location #3762

Closed
opened 2026-02-26 08:31:51 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/NginxProxyManager/nginx-proxy-manager/pull/3810
Author: @Brendon-Mendicino
Created: 6/16/2024
Status: Merged
Merged: 6/25/2024
Merged by: @jc21

Base: developHead: change_log_format_location


📝 Commits (1)

  • b4560d7 feat: changing log_format proxy default location

📊 Changes

2 files changed (+6 additions, -4 deletions)

View changed files

docker/rootfs/etc/nginx/conf.d/include/log.conf (+4 -0)
📝 docker/rootfs/etc/nginx/nginx.conf (+2 -4)

📄 Description

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 issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/NginxProxyManager/nginx-proxy-manager/pull/3810 **Author:** [@Brendon-Mendicino](https://github.com/Brendon-Mendicino) **Created:** 6/16/2024 **Status:** ✅ Merged **Merged:** 6/25/2024 **Merged by:** [@jc21](https://github.com/jc21) **Base:** `develop` ← **Head:** `change_log_format_location` --- ### 📝 Commits (1) - [`b4560d7`](https://github.com/NginxProxyManager/nginx-proxy-manager/commit/b4560d7dde08dfcc7e88429217ed6c5125786f2d) feat: changing `log_format proxy` default location ### 📊 Changes **2 files changed** (+6 additions, -4 deletions) <details> <summary>View changed files</summary> ➕ `docker/rootfs/etc/nginx/conf.d/include/log.conf` (+4 -0) 📝 `docker/rootfs/etc/nginx/nginx.conf` (+2 -4) </details> ### 📄 Description 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 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 08:31:51 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nginx-proxy-manager-NginxProxyManager#3762
No description provided.