azure-web-app-service

Azure Post Deployment Script Commands

空扰寡人 提交于 2020-12-15 06:06:43
问题 I have a Django web app on Azure. I'm using Azure's built in continuous deployment, so I don't have any .deployment files within my repo. However, in order for my application to work correctly, I have to manually install a couple packages after that aren't available via pip. So after every deployment, I have to SSH into the deployment and execute the following 2 commands: source home/site/wwwroot/pythonenv3.6/bin/activate sudo apt-get install XXX XXX XXX I believe I can simply execute this

Azure Post Deployment Script Commands

瘦欲@ 提交于 2020-12-15 06:03:58
问题 I have a Django web app on Azure. I'm using Azure's built in continuous deployment, so I don't have any .deployment files within my repo. However, in order for my application to work correctly, I have to manually install a couple packages after that aren't available via pip. So after every deployment, I have to SSH into the deployment and execute the following 2 commands: source home/site/wwwroot/pythonenv3.6/bin/activate sudo apt-get install XXX XXX XXX I believe I can simply execute this

Add SSL bindings Custom domain in dynamically created web app service

蓝咒 提交于 2020-12-15 01:42:31
问题 I have created azure web app using the REST API. I want to add SSL certificate to my web app. My web app is created dynamically by using azure api. So when the web app created, also want to bind the SSL for each web app. Is there is any option to custom domain SSL bindings using rest api ?. I am using wildcard SSL. 回答1: Is there is any option to custom domain SSL bindings using rest api ?. YES , you could add an existing SSL binding to an Azure web app using rest api. Url: https://management

Add SSL bindings Custom domain in dynamically created web app service

北城以北 提交于 2020-12-15 01:36:21
问题 I have created azure web app using the REST API. I want to add SSL certificate to my web app. My web app is created dynamically by using azure api. So when the web app created, also want to bind the SSL for each web app. Is there is any option to custom domain SSL bindings using rest api ?. I am using wildcard SSL. 回答1: Is there is any option to custom domain SSL bindings using rest api ?. YES , you could add an existing SSL binding to an Azure web app using rest api. Url: https://management

Web App outbound response not going through application gateway

天大地大妈咪最大 提交于 2020-12-13 17:57:17
问题 We have an Azure web app behind the Azure Application Gateway. Network restriction has enabled at web app level (only application gateway can access the web app). Incoming traffic comes through traffic manager but while web app response then it directly communicates with third party services. It does not go through the application gateway. Is there any way to force the web app outbound traffic to go through an application gateway. thanks 回答1: Azure App Services use different outbound and

Web App outbound response not going through application gateway

依然范特西╮ 提交于 2020-12-13 17:53:38
问题 We have an Azure web app behind the Azure Application Gateway. Network restriction has enabled at web app level (only application gateway can access the web app). Incoming traffic comes through traffic manager but while web app response then it directly communicates with third party services. It does not go through the application gateway. Is there any way to force the web app outbound traffic to go through an application gateway. thanks 回答1: Azure App Services use different outbound and

Web App outbound response not going through application gateway

[亡魂溺海] 提交于 2020-12-13 17:51:40
问题 We have an Azure web app behind the Azure Application Gateway. Network restriction has enabled at web app level (only application gateway can access the web app). Incoming traffic comes through traffic manager but while web app response then it directly communicates with third party services. It does not go through the application gateway. Is there any way to force the web app outbound traffic to go through an application gateway. thanks 回答1: Azure App Services use different outbound and

Permission error for Azure Active Directory easy auth /.auth/me returns 401

折月煮酒 提交于 2020-12-12 04:00:28
问题 I've a Python Flask App for which I've use Azure Easy Auth (Azure Active Directory)for App Service. The login mechanism works well. However I want the info of who the logged in user is i.e., name, email etc. For this I understood that we can call http://xyz.contoso.com/.auth/me which will return the data required. However, when I send a get request from the Web App, it does not work and returns a 401 with you do not have permission to view this directory or page . If I browse to the same page

Is it possible to convert the publish method of an App Service from Code to Docker?

六眼飞鱼酱① 提交于 2020-12-07 20:06:16
问题 I have set up an Azure App Service (Linux) publish method being Code and have set up the appropriate pipeline to build and deploy my code (nodejs). Now I need more control on the host running my code (need poppler). On dev + test I have created new App Services and have chosen Docker Container as publish method My question: for my PROD instance, is it possible to change the publish method of my existing App Service or do I have to create a new App Service ? Assuming the latter, I would need

Is it possible to convert the publish method of an App Service from Code to Docker?

|▌冷眼眸甩不掉的悲伤 提交于 2020-12-07 20:00:32
问题 I have set up an Azure App Service (Linux) publish method being Code and have set up the appropriate pipeline to build and deploy my code (nodejs). Now I need more control on the host running my code (need poppler). On dev + test I have created new App Services and have chosen Docker Container as publish method My question: for my PROD instance, is it possible to change the publish method of my existing App Service or do I have to create a new App Service ? Assuming the latter, I would need