Heimdall location?

heimdall.subfolder.conf

## Version 2023/02/05
# make sure that your heimdall container is named heimdall
# In order to use this location block you need to edit the default file one folder up and comment out the / location

Exactly what does this mean?
What default file one folder up?
Does it mean one folder up, one folder into site-defaults and the file default.conf?

And exactly what in this location / does it mean? Just this location / {
Or

    location / {
        # enable for basic auth
        #auth_basic "Restricted";
        #auth_basic_user_file /config/nginx/.htpasswd;

        # enable for ldap auth (requires ldap-server.conf in the server block)
        #include /config/nginx/ldap-location.conf;

        # enable for Authelia (requires authelia-server.conf in the server block)
        #include /config/nginx/authelia-location.conf;

        # enable for Authentik (requires authentik-server.conf in the server block)
        #include /config/nginx/authentik-location.conf;

       try_files $uri $uri/ /index.html /index.htm /index.php$is_args$args;
    }

If i try with just the location / { i get an error in the logs docker logs -f swag
nginx: [emerg] "location" directive is not allowed here in /config/nginx/site-confs/default.conf:54

I think it refers to the location / section in the default.conf

Ok, the whole block? Or just the location / part?
It’s not clear, one has to take a guess :smiley: