Configuring nginx for aimeos laravel (SOLUTION)

Help for integrating the Laravel package
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Posts: 8
Joined: 01 Jan 2020, 22:35

Configuring nginx for aimeos laravel (SOLUTION)

Post by goodwork » 06 Jan 2020, 10:54

Any versions of aimeos
php > 7
NGINX with php-fpm

Categories page does not work in admin panel,
locale change page does not work in admin panel

Aimeos works fine on nginx, but you need to fix the standard configuration a bit, it's working example:
server {
listen 80;
root /var/www/;
index index.php;

location / {
try_files $uri $uri/ /index.php$is_args$query_string;
# Pass the PHP scripts to FastCGI server
location ~ \.php$ {
try_files $uri /index.php =404;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;

aimeos categories white page,
aimeos admin categories page does not work
aimeos admin locale does not change