Remove index.php in Url on Hosted Nextcloud

THX for taking care
Now I have in htaccess:

DO NOT CHANGE ANYTHING ABOVE THIS LINE

#-
RewriteEngine on
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
#-

Header set Strict-Transport-Security “max-age=31536000; includeSubDomains; preload” env=HTTPS

ErrorDocument 403 //
ErrorDocument 404 //