Laravel

问题描述 投票:0回答:1

I have three APIs. When i do php artisan route:list APIS are available there.enter image description here

But only the third api is accessable from postman. can not access first two. they returns 404enter image description here

My application is deployed in digital ocean using Nginx!

laravel nginx forge
1个回答
0
投票

Solved it! /etc/nginx/sites-enabled/catch-all was responsible for denying the request.I had to configured it correctly!

© www.soinside.com 2019 - 2024. All rights reserved.