You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Got an instance of Nginx Proxy Manager up and running and so far so great. I currently have a requirement where I'd like to disable all proxy hosts via some automated mechanism. I dug a bit into an API but seemingly there is nothing there, at least nothing public that I feel like I should rely on. This lead me to looking into the sqlite3 database and it seems to me the quickest way to do this would be to have a cronjob that runs nightly that runs a query on the database to disable all proxy hosts.
Before I dive into a cron/sqlite3 solution, are there any other ways to go about doing this that I should be aware of?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi everyone,
Got an instance of Nginx Proxy Manager up and running and so far so great. I currently have a requirement where I'd like to disable all proxy hosts via some automated mechanism. I dug a bit into an API but seemingly there is nothing there, at least nothing public that I feel like I should rely on. This lead me to looking into the sqlite3 database and it seems to me the quickest way to do this would be to have a cronjob that runs nightly that runs a query on the database to disable all proxy hosts.
Before I dive into a cron/sqlite3 solution, are there any other ways to go about doing this that I should be aware of?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions