daily pastebin goal
6%
SHARE
TWEET

sites-available/default

a guest Feb 25th, 2012 34 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. server {                                                                                                                                                    
  2.   listen 80 default_server;
  3.  
  4.   root /var/www;
  5.  
  6.   access_log /var/log/nginx/default_access.log;
  7.   error_log /var/log/nginx/default_error.log;
  8.  
  9.   error_page 418 http:/nginx.org;
  10.   server_name localhost;
  11.  
  12.   location / {
  13.     try_files $uri $uri/ =404;
  14.   }
  15.  
  16.   location ~ /\. {
  17.     access_log off;
  18.     log_not_found off;
  19.     deny all;
  20.   }
  21. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top