Skip to content

Instantly share code, notes, and snippets.

@txthai
Last active July 28, 2016 03:53
Show Gist options
  • Save txthai/65b5ab3371935e73c26b6a9a3ccb81b8 to your computer and use it in GitHub Desktop.
Save txthai/65b5ab3371935e73c26b6a9a3ccb81b8 to your computer and use it in GitHub Desktop.
server {
listen 80 default_server;
access_log /var/log/nginx/placeholder.log;
root /etc/nginx/placeholder/;
index index.html;
server_name _;
location / {
try_files $uri $uri/ =404;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment