Change ports (80 & 443) in NextCloudPi

Maybe you will find the solution there: