Advertisement
Guest User

Untitled

a guest
Nov 28th, 2014
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. location ~ ^/wp-(admin/|login\.php$) {
  2. allow 104.131.2.229;
  3. deny all;
  4. location ~ \.php$ {
  5. fastcgi_split_path_info ^(.+\.php)(/.+)$;
  6. fastcgi_pass unix:/var/run/php5-fpm.sock;
  7. fastcgi_index index.php;
  8. fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
  9. include fastcgi_params;
  10. }
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement