Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- location ~ ^/wp-(admin/|login\.php$) {
- allow 104.131.2.229;
- deny all;
- location ~ \.php$ {
- fastcgi_split_path_info ^(.+\.php)(/.+)$;
- fastcgi_pass unix:/var/run/php5-fpm.sock;
- fastcgi_index index.php;
- fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
- include fastcgi_params;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement