I followed through one of the tutorials on deployment of laravel app here and was able to deploy my laravel app. Laravel is used as backend while vuejs handles the front end. I also installed nodejs (v16), then did npm install and then npm run prod. However, my app shows a blank page on the browser and some errors on the console.
GET https://ip-address/css/app.css net::ERR_CONNECTION_REFUSED
GET https://ip-address/js/app.js net::ERR_CONNECTION_REFUSED
GET https://ip-address/images/assets/relicon.png net::ERR_CONNECTION_REFUSED
this seems to be a problem with my js compilation but i have not been able to figure out the issue. Any help will be greatly appreciated.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi there,
It looks like that you are accessing your static assets via HTTPS and your IP address, however you most likely do not have an SSL installed so Nginx is not listening on port 443.
What you need to do is either:
You can follow the steps here on how to get a free domain name for your Laravel project.
And then once you have a domain name, you can follow the steps here on how to get a free SSL certificate:
Best,
Bobby
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.