mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-25 17:35:52 +03:00
[GH-ISSUE #531] Ability to run command or script on proxy host save #453
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#453
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 @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.
@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.
@chaptergy commented on GitHub (Oct 25, 2021):
Closing in favor of https://github.com/jc21/nginx-proxy-manager/issues/1228