When run the phpMyAdmin tool in a Docker container and configured in the NGINX virtualhost with the reverse proxy received the warning appearing at the phpMyAdmin login screen.
There is a mismatch between HTTPS indicated on the server and client. This can lead to a non working phpMyAdmin or a security risk. Please fix your server configuration to indicate HTTPS properly.
We should add the nginx configuration on the location,
So, the overall sample code here,
Once you have modified the NGINX virtual host configuration, should test and restart the NGINX,
$ sudo nginx -t
$ sudo service nginx restart