RSS

Azure Change App Service HTTP Ping URL and Interval

In Azure app service, I want to change the keep-alive time period and want to change the HTTP ping (keep-alive) URL to /status, the default keep-alive URL is /.

Issues Description

In Azure app service, I want to change the keep-alive time period and want to change the HTTP ping (keep-alive) URL to /status, the default is /.

Answer from Azure support

I can not find proper answer so send request to Azure support.

The short answer is there is NO way to change it for now (April, 2020).

There is more detail:

It is not possible to control the default endpoint of keep-alive connection https://docs.microsoft.com/en-us/azure/app-service/configure-common#configure-general-settings .

Also there is no way of changing the timeout in a shared app service environment since the request originates from the load balancer, this can only be achieved if the instance is not in a shared environment and using azure load balancer.

https://docs.microsoft.com/en-us/azure/load-balancer/load-balancer-overview

https://docs.microsoft.com/en-us/azure/load-balancer/load-balancer-tcp-idle-timeout#tcp-idle-timeout

You can create a cron job for achieving this by hitting the /status after preferred time and checking if the status is 200. After implementing the custom keep-alive cron job you can always disable the default always on feature in app service. https://docs.microsoft.com/en-us/azure/app-service/faq-availability-performance-application-issues#how-do-i-decrease-the-response-time-for-the-first-request-after-idle-time .

A1Blocker - Hide Apps

Hide Apps from Home Screen, App Library and Lock Apps to protect your privacy even further (requires iOS 16).

DNS Firewall for iOS

Encrypted your DNS to protect your privacy and firewall to block phishing, malicious domains, block ads in all browsers and apps

Ad