我已经使用Ubuntu在Nginx上安装了laravel。到目前为止,除了一个问题之外,一切都很好。当用户插入任何像domain.com/ user /whatever.php这样的url时,nginx会响应自己的404错误页面,而不是显示laravel 404页面。我的nginx配置中遗漏了什么?First attempt to serve request as file, then
# as directory, then
我试图在我的站点上显示一个自定义404错误页面,但是Nginx似乎没有捕捉到404。相反,it shows a 404 page from Gunicorn(flask app)server {server_name$proxy_add_x_forwarded_for; proxy_redirect off;
e