Joseph Woolf
Joseph Woolf

Reputation: 550

Alternative to Virtual applications and directories for Linux container

My team wants to deploy an Azure App Service that's running a React frontend and a Python Flask backend in a Linux environment. I've seen a thread stating that virtual applications and directories are unavailable for Linux. I heard that using custom storage is an alternative approach to allowing multiple applications to run on the same App Service.

If it's not a viable alternative, then what would be?

Upvotes: 0

Views: 1114

Answers (2)

silent
silent

Reputation: 16238

I recently answered a similar question here

TL;DR: Instead of relying on virtual directories, you can host each of your application on its own, dedicated App Service. To save costs, multiple App Services can share the same App Service Plan (the underlying compute)

Upvotes: 1

Doris Lv
Doris Lv

Reputation: 3398

Currently, virtual application is not supported for Linux environment on Azure.

Here is some supported links:

  1. Virtual directory is IIS concept basically. we can't create virtual directory for Linux.
  2. For Windows apps, you can customize the IIS handler mappings and virtual applications and directories.
  3. Just like Joey Cai said, you could use container to proxy multiple applications on Linux, but virtual application is unreachable, because the port would be occupied for the default application.
  4. Running multiple sites in a single Linux web app was not officially supported.

Upvotes: 1

Related Questions