Guest User

Untitled

a guest
Apr 22nd, 2018
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. location ~ /__data/(.*) {
  2. alias /var/www/myApp/data/public/$1;
  3. location ~ \.php$ {
  4. fastcgi_pass 127.0.0.1:9000;
  5. fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
  6. include fastcgi_params;
  7. #test
  8. }
  9. }
  10.  
  11. #location ~ /__data(.*) {
  12. # alias /var/www/myApp/data/public$1;
  13. #}
  14.  
  15. location ~ /__lib/(.*) {
  16. alias /var/www/myApp/core/lib/$1;
  17. }
  18.  
  19. location ~ /__test/(.*) {
  20. alias /var/www/myApp/core/web/test/$1;
  21. }
  22.  
  23. location ~* \.php$ {
  24. fastcgi_pass 127.0.0.1:9000;
  25. fastcgi_index index.php;
  26. fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
  27. include fastcgi_params;
  28. }
  29. }
  30. }
Add Comment
Please, Sign In to add comment