今天,我对NGINX有问题。
在我的NGINX配置中,我有这个:
location ~ / { try_files $uri $uri/ /index.php?$query_string; }
例如,我想使用用Laravel定义的路由来访问https://my.domain/hello。有用但是现在,如果我访问https://my.domain/hello/,它将返回404 NGINX错误页面。我还指出我使用了Plesk。
您对如何解决该问题有任何想法吗?
谢谢您的时间;)