Configure to redirect to HTTPS site

Nevertheless your config is a bit wrong as @j-ed say. Also as @devnull mentioned you redirect root to the sub path nextcloud in this case all other services if they are will not be accessible anymore.

If you want to access only Nextcloud per LAN IP via https, then simply do:

<VirtualHost *:80>
   ServerName 192.168.0.2

   # Redirects any request from http://192.168.0.2/nextcloud to https
   Redirect permanent /nextcloud https://192.168.0.2/nextcloud

   # Redirects any request from http://192.168.0.2/ to https://192.168.0.2/nextcloud
   # No Other Services will be accessible 
   #Redirect permanent / https://192.168.0.2/nextcloud
 
</VirtualHost>