How do I set a static iP-Address for nextcloud on freenas?

Hello, I’ve been using nextcloud for some time now, but how do I set a static ip address for it, it changes once the lease between the router and nextcloud after like a week, freenas has a static ip which does not change.

Thanks in advance.

How have you installed Nextcloud on your NAS? Do you use any kind of virtualization?
Please be MORE PRECISE and provide a detailed description of your environment/network configuration.

I do not use FreeeNAS. But perhaps this link help you:

in freenas in your jail/plugin-config for nextcloud there is an option to set a static address or use dhcp (checked on 11.2 and 11.1).