location ^~ /laravel {
alias /usr/share/nginx/html/laravel/public;
try_files $uri $uri/ @laravel;
location ~ \.php {
root /usr/share/nginx/html/laravel/public;
try_files $uri /index.php =404;
fastcgi_split_path_info ^(.+\.php)(.*)$;
fastcgi_index index.php;
include fastcgi_params;
}
}
error_log /var/log/nginx/seriesadmin-error.log error;
location @laravel {
fastcgi_pass 127.0.0.1:9000;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
rewrite /laravel/(.*)$ /laravel/index.php?/$1 last;
}
}
root /usr/share/nginx/html/laravel/public;
location ^~ /laravel {
alias /usr/share/nginx/html/laravel/public;
try_files $uri $uri/ @laravel;
location ~ \.php {
root /usr/share/nginx/html/laravel/public;
try_files $uri /index.php =404;
fastcgi_split_path_info ^(.+\.php)(.*)$;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
}
error_log /var/log/nginx/seriesadmin-error.log error;
location @laravel {
rewrite /laravel/(.*)$ /laravel/index.php?/$1 last;
}
}
NotFoundHttpException in RouteCollection.php line 161:
Нужно еще дать и доступ к инету.
По каких запросах гуглить ?