New Server Block Configuration

Updated: 2019-02-18

Create New Site

Create New Site Configs

Create your new site config file inside the /etc/nginx/sites-available directory.

Create symbolic link from new server block configuration to sites-enabled directory.

Unlink the default configuration file from the sites-enabled directory.

Test new configuration file.

Reload Nginx.