After I changed ICG to nginx all routes except index page does not work.
Laravel Config:
#/etc/nginx/sites-enabled/laravel server { listen 80;
I had the same issue, but updating the default configuration made it work.
location @rewrite { rewrite ^/(.*)$ /index.php?_url=/$1; } location / { try_files $uri $uri/ @rewrite; }
Let me know if this worked for you or not. sudo service nginx restart after changing the configuration.
sudo service nginx restart