У меня Laravel с NGINX
на моем рабочем сервере, я добавил новые маршруты, и они отлично работают на localhost
.Но в производстве он возвращает 404
от Laravel.
1. I have restart NGINX but still no result.
2. I look a the route list and they are present.
В чем проблема и как ее исправить?
server {
listen 80 default_server;
listen [::]:80 default_server;
root /var/www/laravel/public;
index index.php index.html index.htm;
server_name www.somesite.jp;
location / {
try_files $uri $uri/ /index.php?$args;
}
location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/run/php/php7.0-fpm.sock;
}
location ~ /\.ht {
deny all;
}
}