NginxProxyManager / NginxProxyManager/nginx-proxy-manager

Need restart container after add proxy host

Open
#5,115 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
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

After updating from the old UI to the new UI, there is a problem when adding a Proxy Host. When I add a new Proxy Host, but the Proxy Host only shows the congratulations page.

The Proxy Host only starts working after I manually restart the container.

In the logs, I can see a message saying "reloading nginx", but it looks like nginx is not actually being reloaded.

Nginx Proxy Manager Version

v2.13.5

To Reproduce

Steps to reproduce the behavior:

  1. Open the new UI.
  2. Go to Proxy Hosts.
  3. Click Add Proxy Host.
  4. Fill in the required fields and save.
  5. Try accessing the newly created Proxy Host, shows the Congratulations page.
  6. The Proxy Host does not work until the container is restarted.

Expected behavior

After adding a new Proxy Host, nginx should automatically reload and the Proxy Host should work immediately without requiring a container restart.

Additional context

  • This issue occurs after upgrading from the old UI to the new UI.
  • Logs show a message like "reloading nginx", but nginx does not appear to actually reload.
  • Restarting the container manually resolves the issue.
  • Using postgres database

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

Reproduce the issue on Nginx Proxy Manager v2.13.5 using the new UI and a PostgreSQL database, then trace the path triggered when saving a Proxy Host and the reported “reloading nginx” operation. Compare it with a manual container restart; done means a newly saved Proxy Host works immediately without restarting the container.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, nginx, postgres
Domain
backend, databases, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.