cp
command to clone the file inside the /etc/nginx/sites-available
folder. The operation need to be done as a 'root' user./etc/nginx/sites-enable.
To make nginx load your configuration at start, you need to add a symbolic link in the sites-enabled
folder, pointing to the configuration file in sites-available
folder./etc/nginx/sites-available
. Use the nano text editor to make some changes. Don't forget to open the file as the root user.CTRL+o
CTRL+x