I have problems updating my location with the iOS home assistant app over external address. Internal address work perfect.
I configured the iOS app today for gps updates, I use an external and internal address, needed because of my speedport router and problems with dyndns addresses.
So I have a domain, sending everything to my dyndns address to my local server. Here I have an apache for several tasks and sites running. In apache I configured the https for hass and forward everything coming for hass to my docker machine (same machine running docker).
I can use hass on this way without problems, but now I have problems updating the location from external, internal address works perfect.
Not sure if I need to config something differently on home assistant or on my apache config, maybe someone here has an idea what the problem ist.
So here is the config I use to make hass over docker and apache outside available via https.
<IfModule mod_ssl.c>
<VirtualHost *:443>
ServerName hass.mydomain.com
CustomLog ${APACHE_LOG_DIR}/proxy_hass_access.log combined
ErrorLog ${APACHE_LOG_DIR}/proxy_hass_error.log
LogLevel warn
DocumentRoot /var/www/html/hass/
ProxyPreserveHost On
ProxyRequests Off
ProxyTimeout 600
Timeout 600
ProxyPass /.well-known !
ProxyPass /api/websocket ws://localhost:8123/api/websocket disablereuse=On
ProxyPassReverse /api/websocket ws://localhost:8123/api/websocket disablereuse=On
ProxyPass / http://localhost:8123/ disablereuse=On
ProxyPassReverse / http://localhost:8123/ disablereuse=On
SSLCertificateFile /etc/letsencrypt/live/hass.time4.tv/cert.pem
SSLCertificateKeyFile /etc/letsencrypt/live/hass.time4.tv/privkey.pem
Include /etc/letsencrypt/options-ssl-apache.conf
SSLCertificateChainFile /etc/letsencrypt/live/hass.time4.tv/chain.pem
</VirtualHost>
</IfModule>