Hi,
I just wanted to give back to the open source community after having received so much help and support. (Not sure if this is the correct category.)
I’m running a reverse proxy and a nextcloud instance on the same machine (raspberry pi).
In order to keep the trusted proxies array updated with my dynamic public IP I created this script.
If you have the same or a similar setup feel free to use my script.
It can be found here: