[GH-ISSUE #531] Ability to run command or script on proxy host save #453

Closed
opened 2026-02-26 06:32:54 +03:00 by kerem · 2 comments
Owner

Originally created by @DJFraz on GitHub (Jul 29, 2020).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/531

What I would like is the ability to run a command or a shell script when a new proxy host is created.
An option to run the script and pass variables (like domain) to it when saving would make it perfect.

I currently use my own DNS server as my DDNS service and a simple linux command on my server to update my IP.

My DNS server has an API I can interact with. If I had the option to run a script, I would be able to add my DNS record without needing to manually create it on my server.

Originally created by @DJFraz on GitHub (Jul 29, 2020). Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/531 What I would like is the ability to run a command or a shell script when a new proxy host is created. An option to run the script and pass variables (like domain) to it when saving would make it perfect. I currently use my own DNS server as my DDNS service and a simple linux command on my server to update my IP. My DNS server has an API I can interact with. If I had the option to run a script, I would be able to add my DNS record without needing to manually create it on my server.
kerem 2026-02-26 06:32:54 +03:00
Author
Owner

@the1ts commented on GitHub (Oct 25, 2021):

I think most people get around this in the home setting by putting a wildcard DNS pointing at your home DDNS address then you can simply create new proxy_hosts without needing DNS changes. You can then use specific DNS to point to things not behind NPM.

<!-- gh-comment-id:950851296 --> @the1ts commented on GitHub (Oct 25, 2021): I think most people get around this in the home setting by putting a wildcard DNS pointing at your home DDNS address then you can simply create new proxy_hosts without needing DNS changes. You can then use specific DNS to point to things not behind NPM.
Author
Owner

@chaptergy commented on GitHub (Oct 25, 2021):

Closing in favor of https://github.com/jc21/nginx-proxy-manager/issues/1228

<!-- gh-comment-id:950864219 --> @chaptergy commented on GitHub (Oct 25, 2021): Closing in favor of https://github.com/jc21/nginx-proxy-manager/issues/1228
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#453
No description provided.