Skip to content

CloudPlatform determination does not work correctly in Azure App Service (Windows) #27657

@shibayan

Description

@shibayan

CloudPlatform for Azure App Service was added in Pull Request #25829, but the environment is not correctly identified on App Service (Windows) because the WEBSITES_ENABLE_APP_SERVICE_STORAGE environment variable, which exists only on App Service (Linux), was used to identify the environment.

#25829 (comment)

Therefore, if you are running a Spring boot application on Windows, you may need to configure additional settings for handling Forwarded headers.

There are a number of environment variables that exist on both Windows and Linux, but the following three are probably unique to Azure App Service.

  • WEBSITE_INSTANCE_ID
  • WEBSITE_RESOURCE_GROUP
  • WEBSITE_SKU

Hello @jdubois, I would like to know if you have any opinions on this.

Metadata

Metadata

Assignees

Labels

status: supersededAn issue that has been superseded by another

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions