Azure, >v1.59.0 & Broken Deployments #3630
Replies: 2 comments 2 replies
-
Hey Stefano-co. Docker release 1.59.0 and above has introduced "new automatic TLS" > https://github.com/pglombardo/PasswordPusher/releases/tag/v1.59.0 If you look in the Docker config (line 34), you will see that v1.59 and above expose ports 443,80 & 5100. This confuses Azure because Azure web apps in app service plans can only handle one port. If it sees more than one, it will default to port 80. Here are the three options to get it working again.
Inside your Azure Web App. > Settings> Environment variables. > Add WEBSITES_PORT and set the value to 5100 Leave your custom domain and certificate bound at the App Service level as you had before.
Use Azure Container Apps or Azure Container Instances (not App Service) with external ingress and map 80 and 443 to the container, set TLS_DOMAIN=your.name. ACA terminates TLS at the edge and forwards to your chosen target port; if you want the container to hold the certs itself, give it public 80/443.
ACI can publish multiple ports; make sure you open all you need (e.g., --ports 80 443 5100). But if you’re relying on the new auto-TLS, you only need 80/443 and a TLS_DOMAIN. |
Beta Was this translation helpful? Give feedback.
-
Thank you @mattgosnell !! This solved the issue. Much appreciated. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
With the release of v1.60 the self-hosted instance we have on Azure broke and won't start anymore. Was there any change that might have impacted this?
Our set up is with the configuration using the guide in the documents for Azure with Docker (https://docs.pwpush.com/assets/files/[PWPush_Setup_Guide_For_Azure.pdf](https://docs.pwpush.com/assets/files/PWPush_Setup_Guide_For_Azure.pdf))
Beta Was this translation helpful? Give feedback.
All reactions