Installation on v-server as a subfolder with other services in subfolders using apache

Oops, I forgot to clean up that path :slightly_smiling:

As the other paths are on the same hostname as far as I understand, you want to add blocks like this to the same server block:

        location /example/ {
                proxy_pass http://localhost:8080/example/;
                proxy_redirect http://domain.com/example/ https://domain.com/example/;
                proxy_redirect http://domain.com:8080/example/ https://domain.com/example/;
                proxy_set_header Host $host;
                proxy_set_header X-Real-IP $remote_addr;
                proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
                proxy_set_header X-Forwarded-Proto $scheme;
        }

You may have to experiment with these a bit, especially the proxy_redirect ones. You can read up details in the nginx documentation.