Skip to content

Sites-Available vs Sites-Enabled in Nginx

View on Twitter

💡 Nginx on Linux makes use of symlinks in a smart way to enable site configurations.

👉🏼 "sites-available" folder holds all your site configurations. In the "sites-enabled" folder you create symlinks to the previous folder for the sites you wish to enable.

Create a symlink with ln -s from sites-enabled to sites-available to enable a site's configuration.

Download the VPS Security Cheatsheet

Use this FREE security cheatsheet to not miss a step when securing your VPS.

A preview of the VPS Security Cheatsheet.

You'll also get tips on building scalable Node.js applications about twice a month. I respect your email privacy. Unsubscribe any time.

You might also like
Quick Server for Incoming Webhooks Read tip
Relinquish Process Privileges in Node.js Read tip
Run Locally Installed NPM Library Read tip