Duckdns, Nginx & Home Assistant Android App issue

I am currently able to access my Home Assistant remotely via Duckdns. I can also access my Home Assistant internally via the https://10.0.0.22:8123. I would like to change the internal address to a normal (Non secure) connection http://10.0.0.22:8123, because the moment I use a https:// URL the Android App does not want to connect. I have entered my Wi-Fi SSID into the android app. In the Android App the Home Assistant URL is https://something.duckdns.org:8123/ (Working fine from outside home network) the Home Network WiFi SSID is also set (5G WiFi) and my Internal Connection URL is https://10.0.0.22:8123/ (Currently this does not work, need it to be http:// in my local network).

In Home Assistant I have the following in my configuration.yaml

homeassistant:
  customize: !include customize.yaml
  
# Configure a default setup of Home Assistant (frontend, api, etc)
#default_config:

# Uncomment this if you are using SSL/TLS, running in Docker container, etc.
http:
  base_url: https://something.duckdns.org:8123
  ssl_certificate: /ssl/fullchain.pem
  ssl_key: /ssl/privkey.pem

# Text to speech
tts:
  - platform: google_translate

system_health:

I have the following in my duckdns setup


lets_encrypt:
  accept_terms: true
  certfile: fullchain.pem
  keyfile: privkey.pem
token: 000-000-00000000000-00000
domains:
  - something.duckdns.org
seconds: 300

And the following under my Nginx settings

domain: something.duckdns.org
certfile: fullchain.pem
keyfile: privkey.pem
hsts: max-age=31536000; includeSubDomains
cloudflare: false
customize:
  active: false
  default: nginx_proxy_default*.conf
  servers: nginx_proxy/*.conf

And NGINX port settings

443/tcp	
443

80/tcp	
80

The moment I comment out the following lines in the configuration.yaml the local http:// works, but Duckdns does not work.

  ssl_certificate: /ssl/fullchain.pem
  ssl_key: /ssl/privkey.pem

Can anybody help with this please?

I was in the same position and I found this post: Android APP "Unable to connect to Home Assistant"