DEV Community

Discussion on: Deploy Your Next.js App Like a Pro: A Step-by-Step Guide using Nginx, PM2, Certbot, and Git on your Linux Server

Collapse
 
amirkhosroshahi profile image
Amir • Edited

Hallo
Ik heb de bovenstaande stappen gevolgd, maar ik kan dit bestand niet maken
Kun je me helpen beter te begrijpen waar en hoe ik dit bestand moet maken?

Ik heb geprobeerd dit bestand te maken in de projectmap die ik van git kreeg
Heb ik het proces goed doorlopen?

sudo nano /etc/nginx/sites-available/uw-app-naam.com

Collapse
 
j3rry320 profile image
Jerry Satpathy • Edited

Hey I am really sorry for the late reply but can you give me the error message that you get while creating the file.
You need to cd to /etc/nginx/ and should find two directories one sites-available and another sites-enabled you need to add your website files to available and symlink to enabled. I will update the blog as well. The command nano opens up an editor and lets you edit the file.
Do let me know if you need any help and also do share your error message