Laravel project behind Traefik, error 302 for CSS and Javascript - laravel

I am running a Laravel Docker with PHP and Nginx. This container is sitting at the back of Traefik.
For content from /public/assets/admin/ , I am getting a 302 error and then 404. The application runs well in the local LAMP environment.
Any clue ? Adding couple of pictures.

Related

Asset is direct to HTTP but when it on server they trying to request HTTPS

i'm using Laravel 5 with php7.4
So i put this into header
<script src="http://10.105.2.10/js/bootstrap.min.js"></script>
And this is what they trying to get https
GET https://10.105.2.10/js/bootstrap.min.js net::ERR_CONNECTION_REFUSED
Its work well on local but when deploy to test server it's not working
And the weird thing is other page is work fine but only one page had this problem

Laravel and vuejs app not showing pages in browser

I have a Laravel and Vuejs app working perfectly on my local machine, when i deployed it to an EC2 instance running ubuntu on amazon, the app is not loading the vue components on the browser. The only thing showing is the preloader in welcome.blade.php
Nothing else is showing. i checked all logs; laravel.log, nginx error logs and there is no error in any of the log files

Laravel Home page return 404 after setup in my local from server

I setup laravel server code to in my localhost, update data details. But I'm facing issue for Sorry, the page you are looking for could not be found. I'm run with localhost/sitename/public but return 404.

Why I'm getting This page isn’t working currently unable to handle this request HTTP ERROR 500 in laravel dashboard?

This page isn’t working www.example.com is currently unable to handle this request
HTTP ERROR 500 in laravel site after login to dashboard. I tried with index.php and storage permission (644, 777) too but its not working till. Can anyone provide me best solution to resolve this issue. It was working well in previous server and other laravel sites migrated to same server aren't facing this issue.
Fixed this problem by adding the code below before line 325 of /public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php file
ini_set('memory_limit', '-1');
enter image description here

CodeIgniter project shows 404 error in nginx server

I have a Codeigniter project which is already created in XAMPP server and its working fine.For some reason, my client wants to shift it to Nginx server. In Nginx server, only default controller is loading.the other pages are showing 404 error. Is there anything I need to setup in Nginx server.I have an another Codeigniter project which is working perfectly in Nginx server.
Is there anything I have to change in my Codeigniter file
I have tried with
http://localhost/Project1/website_progressing/ this is working fine
home.php is my default controller which shows 404 error
http://localhost/Project1/website_progressing/home

Resources