I'm setting up Statamic for a project, however I need the default locale, en, to be shown within all URLs, just like any non-default locale would be.

I have moved my index.php file within /en/ and edited the $statamic and $site_root variables accordingly.

I have the following within my NGINX config:

    location = /en/ {
        try_files /en/static/index.html /en/index.php?$query_string;

    location /en/ {
        try_files $uri $uri/ /en/static/$uri /en/static/$uri/index.html $uri /en/index.php?$query_string;

However not everything works. For instance, images on the initial homepage of Statamic don't load, as they're trying to access: /en/img/assets/img/desert.jpg?w=140&h=140&s=75ff6fff47509a4c83c13c54064f6b5e This shows a 404

What do I need to be doing to allow this to happen? I'm also aware that I need an NGINX location to handle root-domain forwarding to the /en folder, would there be a best-practice for that also?