[GH-ISSUE #2257] configure in advanced #1608

Closed
opened 2026-02-26 07:31:45 +03:00 by kerem · 4 comments
Owner

Originally created by @keivanipchihagh on GitHub (Sep 7, 2022).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/2257

Hello there! I was wondering if it's possible to pre-configure the Nginx-Proxy-Manager to have -for instance- a few Proxy Hosts when the container is created? I couldn't find anything related to this on the internet.
Thank you

Originally created by @keivanipchihagh on GitHub (Sep 7, 2022). Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/2257 Hello there! I was wondering if it's possible to pre-configure the _Nginx-Proxy-Manager_ to have -for instance- a few **Proxy Hosts** when the container is created? I couldn't find anything related to this on the internet. Thank you
kerem closed this issue 2026-02-26 07:31:45 +03:00
Author
Owner

@the1ts commented on GitHub (Sep 10, 2022):

Not sure 100% sure what you are requesting but my thoughts below:

If you are using SQLlite rather than MySQL as the backing DB, you can simply have a copy of the NPM starter volumes with the required hosts already provisioned so NPM will start an existing config and password. If the certs are old, they will automatically be updated by the standard process.
If you are using MySQL, you will have to have MySQL and NPM volumes created with the Proxy Hosts and password you require so they are both provisioned with that data.

<!-- gh-comment-id:1242689994 --> @the1ts commented on GitHub (Sep 10, 2022): Not sure 100% sure what you are requesting but my thoughts below: If you are using SQLlite rather than MySQL as the backing DB, you can simply have a copy of the NPM starter volumes with the required hosts already provisioned so NPM will start an existing config and password. If the certs are old, they will automatically be updated by the standard process. If you are using MySQL, you will have to have MySQL and NPM volumes created with the Proxy Hosts and password you require so they are both provisioned with that data.
Author
Owner

@keivanipchihagh commented on GitHub (Sep 13, 2022):

Oh I did not know that. So having copied the preserved data should do the job?

<!-- gh-comment-id:1245703248 --> @keivanipchihagh commented on GitHub (Sep 13, 2022): Oh I did not know that. So having copied the preserved data should do the job?
Author
Owner

@the1ts commented on GitHub (Sep 13, 2022):

Since good container deployments keep their config and data outside the container to allow updates, yes if you follow the setup guide, all data will be in the volumes so can be plugged back in recovering back to the state when it was copied.

<!-- gh-comment-id:1245952212 --> @the1ts commented on GitHub (Sep 13, 2022): Since good container deployments keep their config and data outside the container to allow updates, yes if you follow the setup guide, all data will be in the volumes so can be plugged back in recovering back to the state when it was copied.
Author
Owner

@keivanipchihagh commented on GitHub (Sep 14, 2022):

Great! thank you! will test it asap.

<!-- gh-comment-id:1246279521 --> @keivanipchihagh commented on GitHub (Sep 14, 2022): Great! thank you! will test it asap.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nginx-proxy-manager-NginxProxyManager#1608
No description provided.