So I have a complex deployment structure, where a public SSL capable domain should host many applications in subfolder URLs. For instance: