How to change localhost URL from http://192.168.1.65:8087 to http://www.magento.local/

I am installed Magento 2.3.4 in LEMP Most of the tutorial suggest use http://www.magento.local/ instead of ip address, how to change this into Nginx?

Workout:

Nginx : etc/hosts

192.168.1.64:8087 www.giri.local

After added above location my magento backend url changed but error.

Error Screenshot : https://snipboard.io/dOtLuT.jpg

submitted by /u/aveeva7
[link] [comments]