mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-25 17:35:52 +03:00
[GH-ISSUE #746] Change access log filenames to domain name (or add option) #632
Labels
No labels
awaiting feedback
bug
cannot reproduce
dns provider request
duplicate
enhancement
enhancement
enhancement
good first issue
help wanted
invalid
need more info
no certbot plugin available
product-support
pull-request
question
stale
troll
upstream issue
v2
v2
v2
v3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nginx-proxy-manager-NginxProxyManager#632
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @joewesch on GitHub (Nov 29, 2020).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/746
Is your feature request related to a problem? Please describe.
It's very frustrating to try and determine which log file is for which site since they are all named after the arbitrary ID that they are assigned when created.
Describe the solution you'd like
It would be nice to instead have them named after the first domain in the
domain_nameslist.Using the template on how the domain names are set for
server_name, I assume this can be accomplished by simply changing the access log line to something like this (proxy host as the example):Describe alternatives you've considered
I tried to just add a custom
access_logline to the advanced configuration, but instead of overwriting the previous setting it sends logs to both files.Additional context
N/A
@joewesch commented on GitHub (Nov 29, 2020):
I have verified that the solution that I presented will indeed work by mounting my own
proxy_host.conffile with the change into my container. The only thing left would be to decide if this will be the default (and just need to update the templates) or if this should be an option presented to the user. If the default can be changed I can provide a PR to update the templates.@chaptergy commented on GitHub (May 12, 2021):
Sure, if you still have not encountered any issues with this change, go ahead and open a PR. I'm sure a lot of people would be very happy about that.
@bohemtucsok commented on GitHub (Feb 10, 2023):
Hello
maybe there is already a solution for this?
@joewesch commented on GitHub (Feb 11, 2023):
Hello,
It doesn't look like this has been implemented just yet. I'll throw in a PR for the change. It has been working for me so far.
@github-actions[bot] commented on GitHub (Mar 23, 2024):
Issue is now considered stale. If you want to keep it open, please comment 👍
@joewesch commented on GitHub (Mar 23, 2024):
I'm still waiting for my PR to be merged.
@github-actions[bot] commented on GitHub (Dec 17, 2024):
Issue is now considered stale. If you want to keep it open, please comment 👍
@joewesch commented on GitHub (Dec 17, 2024):
👍🏻
@github-actions[bot] commented on GitHub (Nov 11, 2025):
Issue is now considered stale. If you want to keep it open, please comment 👍
@kramttocs commented on GitHub (Jan 15, 2026):
It would be great to get this added. Would beat having to keep a notepad file with what the different ones map to