@MichaIng as I explained to you earlier my OS is bit different as well as your setup.
My OS is ubuntu 16 , it is the VM pre-installed version of Nextcloud provided by techandme.se
What I did is followed the steps of @SyS0p3r script and adopted some of it on my machine
If all your requests are going to 443 then your machine fulfills the conditions.