Skip to content

Instantly share code, notes, and snippets.

Working from home


Working from home
  • Greensboro, NC
View GitHub Profile
kquinn3 /
Last active Feb 8, 2021
nginx adding additional domains to the same container

Adding Additional domains to the same container in nginx

  1. Refer to these instructions for setting up the first domain.

  2. Go to the path where the original nginx file configuration resides cd /etc/nginx/sites-available

  3. Copy the existing configuration file to a new file in the same directory. In my example it is called I like to call it the same name as the domain name, but I don't know if it's necessary. This is my file.