Skip to content

Instantly share code, notes, and snippets.

@Heavyblade
Created July 26, 2021 23:36
Show Gist options
  • Save Heavyblade/534a1eb385735982ebc2b1b69d7f38fe to your computer and use it in GitHub Desktop.
Save Heavyblade/534a1eb385735982ebc2b1b69d7f38fe to your computer and use it in GitHub Desktop.
events {
worker_connections 2048;
}
http {
server {
listen 80;
listen [::]:80;
root /home/cristianvasquez/nginx-test;
index anderson.html
server_name your_domain www.your_domain;
location / {
#try_files $uri $uri/ =404;
try_files $uri /index.html;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment