How to change localhost URL from 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?


Nginx : etc/hosts www.giri.local

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

Error Screenshot :

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