mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-08-06 17:33:33 +00:00
Add Admin dashboard logging to the /data/logs/admin-panel_[access/error].log folder - ENV: ADMIN_PANEL_LOG = 1 to enable. Add OpenResty error log (fallback_error.log) debug level - ENV: OPENRESTY_DEBUG = 1 to enable.
8 lines
182 B
Bash
Executable File
8 lines
182 B
Bash
Executable File
#!/usr/bin/with-contenv bash
|
|
# shellcheck shell=bash
|
|
set -e
|
|
|
|
mkdir -p /data/logs
|
|
echo "Changing ownership of /data/logs to $(id -u):$(id -g)"
|
|
chown -R "$(id -u):$(id -g)" /data/logs
|