SHARE
TWEET

Untitled

a guest Jun 19th, 2017 44 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. location /
  2.         {
  3.                 try_files $uri $uri/ /index.php$request_uri;
  4.         }
  5.  
  6.         locd
  7.         {
  8.                 autoindex on;
  9.         }
  10.  
  11.         location ^~ /index.php
  12.         {
  13.                 internal;
  14.                 include fastcgi.conf;
  15.                 fastcgi_split_path_info ^(\/index\.php)(.*)$;
  16.                 fastcgi_param PATH_INFO $fastcgi_path_info;
  17.                 fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
  18.                 fastcgi_pass php-fpm;
  19.         }
RAW Paste Data
Want to get better at PHP?
Learn to code PHP in 2017
Pastebin PRO Summer Special!
Get 40% OFF on Pastebin PRO accounts!
Top