Duplicate location in /etc/nginx/conf.d/phppgadmin.inc:1

so I have an a-typical experience I am sure
Server1 - nginx failed

The diagnosis was ACTUALLY pretty straight-forward. It took me a couple of restarts, I’d rather just bounce the server than screw around with service restarts

websites 'r down: checked service nginx - stopped

systemctl start nginx

gave two errors
nginx: [warn] the “listen … http2” directive is deprecated, use the “http2” directive instead in /etc/nginx/conf.d
nginx: [emerg] duplicate location “/phpmyadminsecretstring” in /etc/nginx/conf.d/phppgadmin.inc:1

It was WIERD to be that phpmyadmin secret string was located in phppgadmin location

I went and removed the string. restarted. same problem.
Then I set phpmyadmin to phpmyadminsecretstring
and phppgadmin to phppgadminsecretstring

did another server bounce, and everything was workinfg perfectly.

Server2 - had absolutely NO problems

Thanks so much guys