Project Laravel 404 Not Found in nginx - laravel

When installing nginx to use it with my laravel project, I believe that the routes do not work, it indicates the following error: 404 Not Found when trying to enter: http://127.0.0.1/project/public/login.
nginx.conf

Related

502 Bad Gateway nginx/1.17.10 Laravel

I'm getting a 502 Bad Gateway nginx/1.17.10 error when trying to visit a Laravel .test site with Valet. I'm having no issues with another Laravel app running on .test. I have tried reinstalling nginx, php, valet, and have tried using php versions 7.2 ,7.3 & 7.4 for valet. Any ideas?
For anyone still experiencing this issue:
Open your Homestead.yaml file
Add the following lines to the sites option:
php: YOUR_PHP_VERSION
type: apache
Run the command vagrant reload --provision

Restiction in directory when deploy laravel app. open_basedir restriction for lang directory

I tried to deploy a laravel web in Windows server 2018. At the moment that I load the webpage error 500.
The log file said:
PHP Fatal error: Uncaught ErrorException: file_exists(): open_basedir restriction in effect. File(C:\inetpub\vhosts\my-web.com\resources\lang/de.json) is not within the allowed path(s): (C:/Inetpub/vhosts/my-web.com\;C:\Windows\Temp) in C:\inetpub\vhosts\my-web.com\vendor\laravel\framework\src\Illuminate\Filesystem\Filesystem.php:23
I tried to give all permissions in Plesk but doesn't help. I tried to print a simple "Hello world" and it works. Do I miss something?
I also did the recommendation from Plesk without success.
https://support.plesk.com/hc/en-us/articles/115000278993-A-website-hosted-in-Plesk-is-not-accessible-open-basedir-restriction-in-effect-File-is-not-within-the-allowed-path-s-
PHP version 7.3.14
Laravel 6
In Plesk go to php settings and add :{WEBSPACEROOT} to the open_basedir so laravel can access to file in root.

My laravel project found http 500 error in live server and i got error_log like this

my laravel project work well in localhost but while i uoload to the webserver i found http 500 error
and error_log file is look like thisenter image description here
It seems that your classmap is incorrect. It typically happens when you run composer install in a folder and then rename it or one of its parents.
Run composer install from the root of your project.

How to fix the App_url error in laravel 5.5

i'm using the laravel 5.5 and when i add my virtual host to the .env file this error came up
The requested URL /password/reset/cafedf0cb3d2a3a0bcfe0c26566233f8afa60901989b8ab48084ec005ed27fe5 was not found on this server
please tell me how can i fix this error...

404 not found laravel 5.2 after publish on server

i got error 404 not found on laravel 5.2 after i deployed my project on ubuntu server 16.04
i gave permission to storage and too i created virtual host and its directory on public folder of my project
Not Found
The requested URL /login was not found on this server.
Apache/2.4.18 (Ubuntu) Server at www.xxx.com Port 80
the laravel home page show but nothing work like login and register
i got the answer
you should run this on server:
a2enmod rewrite
that worked perfectly! xD

Resources