I installed Statamic with the extra step explained here: https://docs.statamic.com/knowledge-base/running-above-webroot

Now if I add new locale by the instructions in documentation my home page works with locale but sub pages don't. When in public side, I get Page not found error and from cp with Live Preview button I get error 500 with explanation dev.ERROR: Exception: Parent page [/fr] doesn't exist..

I have other local installation where I haven't change the webroot and it is working normally with locales.

Is it possible to use both secure webroot and localization?