Having issues with your DietPi installation or found a bug? Post it here.
ok this explains the different web server root. Therefore the workaround is needed in your case. As long as you don't plan to run any other web server application (like NextCloud) it should be fine.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team