0

I've got a nodejs app running inside docker on a container instance in Azure.

I have a URL which is an IP address with HTTP only.

e.g.

http://123.456.789

I need it to be HTTPS because it is providing content to a React frontend and therefore I have a mixed content issue.

The App services on Azure just works by adding a https to the front of the address, but these are different and I can't figure it out.

32423hjh32423
  • 3,048
  • 7
  • 44
  • 59

1 Answers1

1

You could add an extra sidecar container running the public Nginx image, configured to use TLS. Read this tutorial to enable a TLS endpoint in a sidecar container and read this for more choices. If you want to automatic HTTPS with Azure Container Instances (ACI) with terraform, you could refer to this.

Nancy
  • 26,865
  • 3
  • 18
  • 34