sultanworks Hello , i'm have a problem whit laravel routes , using nginx web server on aa panel. Every time when i try access to some route i get 404 error page not foud but i'm found solution. In existing nxing config file only add this code line. location / { try_files $uri $uri/ /index.php$is_args$args; } That will be fix , a problem whit laravel routes!
virgiltu Use the default one there is a drop down for laravel 5. It should work, I use it will all my websites. location / { try_files $uri $uri/ /index.php$is_args$query_string; }
aaPanel_Captain There is a pseudo-static configuration for the laravel program in the website settings, you can directly choose to save this
aaP_myanmar https://139.162.55.94/heplay/api/post/front_photo/ this my route is working but https://139.162.55.94/heplay/api/post/front_photo/rIfLZz90IFTtWiDtAvw8b9eQgJzMaECP0FcLx3lv.jpg this .jpg and other file not working
aaP_umairhussaingt One of the ways I get rid of this complexity is to manually trigger a 404 error from a route. First, you may use the abort helper. As I've been using Yii and regular PHP for years now hoping some good stuff might show for the laravel 9.