I'm unable to access media files under pub/media/customer due to .htaccess restriction below:
<IfVersion >= 2.4>
Require all denied
I'm not sure at what event/action, magento generates .htaccess for pub/media/customer. I deleted .htaccess under pub/media/customer and did below cli commands. yet no .htaccess is generated.
php bin/magento setup:upgrade && bin/magento setup:di:compile && php bin/magento cache:flush
But after some time, I'm facing in accessing media files under pub/media/customer, due to same .htaccess issue. Can anyone help me on