42526 Views
To deploy nextjs app you need to install nginx, yarn, node, PM2.
Deployment of Nextjs app is very easy using the following steps.
Step 1:
Install nginx
sudo apt-get update
sudo apt-get install nginx
Step 2:
Add your site in nginx
sudo vim /etc/nginx/sites-available/default
Set ...
Sheetal Kumar
Oct 13, 2021