I've unsuccessfully tried to use localization. I tried following the guide at

https://docs.statamic.com/localization

I first tried without editing the Nginx config where it partly works on the main page - no assets or sub-pages seems to work, however. When I modify the Nginx config, all requests for a specific locale simply redirects to root "/". You can see the .sh file here:

https://pastebin.com/LzgdZTzg

I tried to copy the code from the documentation, in this case for "de".

I really like Statamic so far but whether I can get this to work or not is really a dealbreaker for me. Thanks in advance!