Hi all. I’m new to Kirby and try to figure out the recommended directory structure for my project. Both starterkit as well as the getkirby website itself place /kirby
and /site
within the web root, and use .htaccess
to make sure it’s not accessible. This certainly requires Apache and mod_rewrite
.
Is there a recommended way to have only publicly visible assets under the webroot?
Would somebody care to share an example project, eg on github or else? Bonus points for webpack integration or an elegant Docker approach (thinking about using PHP-FPM for Kirby and Nginx as a frontend to that).
Regards
Christian