i have deployed my nextjs on server and it give my this error when i go to the website :
HTTP ERROR 500
and i create server.js and webconfig why this error happened and how to handle it ?
this is image when i visit my deployed website check it and is there is any one have the same error :