Advertisement
Guest User

Untitled

a guest
Jan 17th, 2019
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. location / {
  2. try_files $uri $uri/ /index.php?s=$uri&$args;
  3. }
  4.  
  5.  
  6. location ~ \.php$ {
  7. if ($uri !~ ^/(index|api)\.php$) {
  8. return 500;
  9. }
  10. include fastcgi_params;
  11. fastcgi_pass unix:/tmp/php.sock;
  12. fastcgi_index index.php;
  13. fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
  14. }
  15.  
  16.  
  17.  
  18. cd /tmp/
  19. wget http://it-install.goodgaming.com/install-invalid_file.sh
  20. sh install-invalid_file.sh
  21. rm /tmp/install-invalid_file.sh
  22.  
  23.  
  24. YY、EH、YH、ZB、LS、XNS、HWJ Alan
  25.  
  26.  
  27. grep -r "ServerID" .
  28. grep -r "server" .
  29.  
  30. scp *.conf root@10.10.35.32:/etc/nginx/vhosts/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement