I have this setup in Magento 2
- Magento behind a NGINX reverse proxy
- Rewriting store urls from /en/shop to __store=en
Now I am only left with the problem, that the language switch appends __store=en and so on to the URLs.
Can this be elegantly avoided?
References I found:
A closed issue for Magento 2: https://github.com/magento/magento2/issues/1101