I'm working on a new installation of Drupal 10.2 and I noticed there's an .htaccess file in the files folder. This file is created automatically by Drupal. When I try to delete it, it gets created again.
The site looks like basic html with no CSS, but when I delete de file it goes back to normal until it gets created again and back to where I started.
I get 404 error in the browser developer tools for css and js files inside sites/default/files/css and sites/default/files/js
This is the content of the .htaccess file:
# Turn off all options we don't need.
Options -Indexes -ExecCGI -Includes -MultiViews
# Set the catch-all handler to prevent scripts from being executed.
# Override the handler again if we're run later in the evaluation list.
# If we know how to do it safely, disable the PHP engine entirely.
php_flag engine off
Is there anything I need to change so this doesn't happen?