Convert http to https in docker hostname

please help me with my issue on my hostname http://hostname:8080 while using whatsapp to configure its required https:/hostname:8080. how to convert http to https hostname in docker.

Describe the problem/error/question

What is the error message (if any)?

Please share your workflow

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

Share the output returned by the last node

Information on your n8n setup

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Hey, welcome to the community.

WhatsApp requires a trusted URL, so your localhost won’t be accepted. The fastest way to solve this is to install ngrok locally and expose your port. This will give you a trusted URL which then you can use to configure WhatsApp. However exposing your machine to the web is not recommended for security concerns, you may want to change that in the future.