mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-26 01:45:54 +03:00
[GH-ISSUE #4028] Custom error pages not working #2623
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#2623
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 @CYM-GS on GitHub (Sep 29, 2024).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/4028
Checklist
jc21/nginx-proxy-manager:latestdocker image?Describe the bug
Whenever I add the server_proxy.conf file to /data/custom and fill it with my desired configurations:
It doesn't actually use it, the permissions have been check and since it works on my test nginx instance I am assuming something isn't right with NPM.
However, if added in the proxy under the advanced section, it will function.
Nginx Proxy Manager Version
v2.11.3
To Reproduce
Steps to reproduce the behavior:
Expected behavior
See the custom html file instead openresty default error page
Screenshots

Operating System
Additional context
Firefox 130.0.1 (64-bit)
Client: Docker Engine - Community
Version: 27.1.2
API version: 1.46
Go version: go1.21.13
Git commit: d01f264
Built: Mon Aug 12 11:50:12 2024
OS/Arch: linux/amd64
Context: default
Server: Docker Engine - Community
Engine:
Version: 27.1.2
API version: 1.46 (minimum version 1.24)
Go version: go1.21.13
Git commit: f9522e5
Built: Mon Aug 12 11:50:12 2024
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.7.20
GitCommit: 8fc6bcff51318944179630522a095cc9dbf9f353
runc:
Version: 1.1.13
GitCommit: v1.1.13-0-g58aa920
docker-init:
Version: 0.19.0
GitCommit: de40ad0
@CYM-GS commented on GitHub (Sep 30, 2024):
can confirm somethig is worng with the
include /data/nginx/custom/server_proxy[.]conf;The error_page part is also in the server_proxy.conf but isn't working, but manually adding this to the proxy host conf works.
@github-actions[bot] commented on GitHub (Jan 13, 2026):
Issue is now considered stale. If you want to keep it open, please comment 👍