We have an nginx, varnish setup of a Magento 2.2.2. installation in production.
There are several websites which can be accessed via store view code. This looks like this:
(show store view code is enabled)
Now we also want to add different languages so this means we need to add another subdirectory to the path.
This is what we want to achieve:
(these are examples, first subdirectory is website, second store view)
So I tried to change the base url and base url link to domain.com/us/ This works for the home page but all deeper links end in an redirect loop.
No nginx changes done so far. Was hoping it works simply with changing base urls.
Any suggestion how to achieve this?