TheLargeFries Posted May 5, 2022 Share Posted May 5, 2022 Hi All, I am new to unraid, and recently got my domain SSL cert to work with the GUI of unraid. I am using the NGINX Proxy Manager docker container to renew a wildcard cert, and proxy a handful of containers to force SSL. I haven't quite figured out how to automate the renewal for the WebUI though.. right now, I manually need to move the updated cert to /boot/config/ssl/certs/server-name_unraid_bundle.pem (and append the key into the file, since unraid needs it all in one file). I think the easiest solution would be to run a weekly bash script to copy whatever cert is in my NPM docker into the unraid webui folder, probably weekly or monthly. is there a specific place to write/store a script that would persist after a reboot? or, is there a more elegant solution? Thanks! -Fries Quote Link to comment
ljm42 Posted May 5, 2022 Share Posted May 5, 2022 31 minutes ago, TheLargeFries said: is there a specific place to write/store a script that would persist after a reboot? Anything on /boot/ is on the flash drive and will persist. I'd recommend creating /boot/config/custom/ and placing your scripts in there. Or take a look at the User Scripts plugin, it is a nice way to manage custom scripts. Quote Link to comment
TheLargeFries Posted May 5, 2022 Author Share Posted May 5, 2022 Thank you! This is exactly what I needed. I'll likely use the user scripts plugin to schedule the job too. 1 Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.