Advertisement
0Seven

Untitled

Oct 4th, 2013
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. location ~ /blocktest/.*\.php$
  2. {
  3. if ($remote_addr != "1.1.1.1")
  4. {
  5. return 503;
  6. }
  7.  
  8. include /usr/local/nginx/conf/php.conf;
  9. }
  10.  
  11. location ~ /blocktest/
  12. {
  13. if ($remote_addr != "1.1.1.1")
  14. {
  15. return 503;
  16. }
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement