this is my conf
server {
listen 80;
root /vagrant/shop/public;
index index.php index.html index.htm;
server_name .novistore.dev;
location / {
try_files $uri $uri/ /index.php$is_args$args;
}
error_page 404 /404.html;
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/www;
}
include php5fpm.conf;
}
php5fpm.conf
location ~ \.php$ {
try_files $uri =404;
fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
Did you ever solve this? I am having an identical issue.
Hi chrislentz
I did solve it. Just replaced
try_files $uri $uri//index.php?$query_string;
with
try_files $uri $uri/ /index.php$is_args$args;
in ../sites-available/default
and restartet nginx.
xorox said:
Hi chrislentz
I did solve it. Just replaced
try_files $uri $uri//index.php?$query_string;
with
try_files $uri $uri/ /index.php$is_args$args;
in ../sites-available/default
and restartet nginx.
woah! it worked! how come? what happened? can you please explain to me? thank you man!
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community