Skip to content

Instantly share code, notes, and snippets.

View kquinn3's full-sized avatar
🏠
Working from home

kquinn3

🏠
Working from home
  • Greensboro, NC
View GitHub Profile
@kquinn3
kquinn3 / nginx-create-additional-domain.md
Last active December 3, 2021 19:13
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 kquinn.info. 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.