42739 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
2431 Views
In Nginx server when you try to upload a large file more than 2 MB then the server shows the error message -
413 Request Entity Too Large
This error message means the Nginx server max file upload size capacity is lower than your requested file size.
To increase the size of file upload ...
Sheetal Kumar
Dec 21, 2019
5603 Views
When you try to upload a file using Nginx server you get an error 413 Request Entity Too Large.
This is due to Nginx server configuration is not set for your uploaded file size. To solve this issue use the following steps.
1. Connect your server using SSH terminal.
2. Open Nginx ...
Sheetal Kumar
Aug 20, 2019
4510 Views
To add a PHP website in Nginx Server you need to install php-fpm on your server. Here we are providing step by step guide to add and configure PHP website on nginx server.
Step 1.
If you have not installed php-fpm then install it by following command in your Linux machine.
sudo apt-get update
sudo ...
Sheetal Kumar
Feb 26, 2019