Forrest logo
back to the ln tool

ln:ai:219f6

Link nginx site config to sites-enabled
$ ln -s /etc/nginx/sites-available/example.com /etc/nginx/sites-enabled/
try on your machine

Creates a symbolic link from the site config file in 'sites-available' directory to 'sites-enabled' directory in nginx

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.

Questions that are answered by this command:

  • Link nginx site config to sites-enabled?
back to the ln tool