title: There is mismatch between HTTPS indicated on the server and client
body: <p>This is the warning when I open my phpMyAdmin's login (index) page:</p>
  
  <pre><code>There is mismatch between HTTPS indicated on the server and client.
  This can lead to non working phpMyAdmin or a security risk.
  Please fix your server configuration to indicate HTTPS properly.
  </code></pre>
  
  <p>The error should be caused by a loadbalancer in between my client and phpmyadmin itself. SSL terminates on the loadbalancer so the URL being used (that phpmyadmin receives in request headers, I assume) is <a href="https://mydomain/phpmyadmin" rel="noreferrer">https://mydomain/phpmyadmin</a>.</p>
  
  <p>The loadbalancer communicates with phpmyadmin via http, so the URL being used between lb and pma is <a href="http://mydomain/phpmyadmin" rel="noreferrer">http://mydomain/phpmyadmin</a> (not https).</p>
  
  <p>I found this very fitting article on github: <a href="https://github.com/phpmyadmin/docker/issues/170" rel="noreferrer">Possibility to deactivate SSL connection #170</a> which is for Docker containers and describes an env var to be passed to the container called "PMA_ABSOLUTE_URI" to fix the problem.</p>
  
  <p>Which setting would this be in phpmyadmin NON Docker?</p>
  
  <p>Any other solution to my problem is also highly appreciated.</p>
  
  <p><strong>Sidenote:</strong> Phpmyadmin works fine after the login. You can log in, there are no warnings after the log in and you can perform all interactions without problems. I am just worried about the warning.</p>