403 Error on homepage of second language We are trying to setup a second language. We've gone through the steps and created a second website, we defined the base URL as @web/de for the second language (German). 

The deeper sections are working fine (e.g. www.url.com/de/kontakt). However we can't get the second homepage to work on the URL www.url.com/de. We get a 403 access denied from nginx. We followed all the steps in the documentation (https://docs.craftcms.com/v3/localization.html), but can't get it to work. I assume we are missing something or forgot to do something.

The homepage is a single. In sections, we have left the URI blank for both, the default english site as well as the german site. The template is the same for both.

As a dev environment, we are using Local by Flywheel on a local workstation.

Here are some screenshots of our configuration:


Site overview:
Did you define the the locale url in your config?

I do it like this:

.env

SITE_URL_DE="@web"
SITE_URL_EN="@web/en"
SITE_URL_FR="@web/fr"
SITE_URL_IT="@web/it"


general.php

// Global settings
  '*' =&gt; [
    'siteUrl' =&gt; [
        'siteDe' =&gt; getenv('SITE_URL_DE'),
        'siteFr' =&gt; getenv('SITE_URL_FR'),
        'gsiteEn' =&gt; getenv('SITE_URL_EN'),
        'siteIt' =&gt; getenv('SITE_URL_IT'),
    ],
  ],


Then you can use those as your base URL's: