Deploy NextJS to Azure Web Service/ IIS

There are two steps required to deploy NextJS to IIS server or Azure Web Service:First: Prepare the NextJs Application.Second: Prepare the IIS Server or Azure Web Service depeneding on where you want to deploy tour application. Preparing NextJs Application:1- Create custom server file in the root of the application, create server.js file that contains code…More

Enable https in local NextJS application

When working on development environment, it’s good practice to keep the setting as close as possible to the production environment, this is one of the reason why we want to use https enabled project during the development.For NextJs project, we need the following to enable the https:1- Self-Signed Certificate (.cert & .key) files.2- Create server.js…More