Linode Pastebin


Posted by Anonymous on Thu 26th Jan 07:19


View followups from rwky | download | new post
  1. server {
  2.  
  3.             listen   80;
  4.             root /var/www/drupal;
  5.                 index index.php;
  6.                 expires max;
  7.                        
  8.                         location ~ /\. {
  9.                 deny  all;
  10.                         }
  11.  
  12.  
  13.                       location ~ \.php$ {
  14.                              if (!-f $request_filename)
  15.                              {
  16.                                     return 404;
  17.                              }
  18.                                 expires 0;     
  19.                                 fastcgi_pass   127.0.0.1:8000;
  20.                           include fastcgi_config;
  21.           include fastcgi_params;
  22.             }
  23.            
  24.             location /
  25.             {
  26.                 try_files $uri $uri/ /index.php?$args;
  27.             }
  28.  
  29. }

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with @@


Remember me


Home | Members | Contact Us | Terms of Service | ™ © 2003-2008 Linode, LLC. All rights reserved.