Skip to content

Instantly share code, notes, and snippets.

@zue666
Created December 11, 2015 12:07
Show Gist options
  • Save zue666/288cbe30acfab8264fb3 to your computer and use it in GitHub Desktop.
Save zue666/288cbe30acfab8264fb3 to your computer and use it in GitHub Desktop.
server {
listen 80;
listen [::]:80;
root /home/public;
index index.html index.htm index.php;
server_name localhost;
location / {
try_files $uri $uri/ =404;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment