Forcing index.php rewrite for docker instance?

I’m currently running occ maintenance:update:htaccess to update the .htaccess file manually, but want to know if there is a more elegant way to do this? I want to remove the index.php from the path, but having to run this after I start the container is a bit of a pain. Thanks!

What image are you using?

Please post your Compose file and fill out the support template.

If you’re having to re-run this command after restarts, something is wrong with your environment or installation. That is not normal.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.