Skip to content

Instantly share code, notes, and snippets.

@damoahdominic
Created May 20, 2018 00:13
Show Gist options
  • Save damoahdominic/6f964e02c6907876227963e92d41b0eb to your computer and use it in GitHub Desktop.
Save damoahdominic/6f964e02c6907876227963e92d41b0eb to your computer and use it in GitHub Desktop.
vhost-nginx.txt
# virtual hosts
server {
listen 80;
server_nme domain;
root html;
index index.html index.htm;
location / {
try_files $uri $uri/ =404;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment