Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- location ~ /__data/(.*) {
- alias /var/www/myApp/data/public/$1;
- location ~ \.php$ {
- fastcgi_pass 127.0.0.1:9000;
- fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
- include fastcgi_params;
- #test
- }
- }
- #location ~ /__data(.*) {
- # alias /var/www/myApp/data/public$1;
- #}
- location ~ /__lib/(.*) {
- alias /var/www/myApp/core/lib/$1;
- }
- location ~ /__test/(.*) {
- alias /var/www/myApp/core/web/test/$1;
- }
- location ~* \.php$ {
- fastcgi_pass 127.0.0.1:9000;
- fastcgi_index index.php;
- fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
- include fastcgi_params;
- }
- }
- }
Add Comment
Please, Sign In to add comment