NginxProxyManager / NginxProxyManager/nginx-proxy-manager

Proxy Host Order

Open Beginner friendly
#4,430 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug stale
Dominant language
TypeScript
Stars
34.2k
Forks
3.9k
Avg merge
21h 12m
Merged PRs (30d)
20

Description

Checklist

  • Have you pulled and found the error with jc21/nginx-proxy-manager:latest docker image?
    • Yes
  • Are you sure you're not using someone else's docker image?
    • Yes
  • Have you searched for similar issues (both open and closed)?
    • Yes

Describe the bug
The order of the hosts on the Proxy Hosts page is seemingly random when using MySQL as the database storage. I know that SQLite works fine. Oddly, SSL certificates are displayed in alphabetical order.

Nginx Proxy Manager Version
2.12.3

To Reproduce
Steps to reproduce the behavior:

  1. Create NPM using MySQL database
  2. Go to 'Proxy Hosts' page
  3. See unsorted hosts

Expected behavior
Proxy hosts should be display in alphabetical order by host. If multiple hosts are listed, sort by first entry.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the Proxy Hosts page and trace how hosts are retrieved and ordered when using MySQL, then compare that behavior with SQLite. The issue is done when hosts display alphabetically by host, with multiple hosts sorted by their first entry, while the existing Docker image remains usable.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, mysql, sqlite, typescript
Domain
databases, frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.