I made a one_click ubuntu LEMP drop, installed composer, installed larval, created a new larval installation, edited /etc/nginx/sites-available/default server section with:
root /home/myUserName/myAppName/public;
index index.php index.html index.htm index.nginx-debian.html;
server_name myIpAddress;
restarted nginx No errors in any of the above. Point my browser to the ip and I still see the DigitalOcean welcome screen rather than Laravel’s. What am I missing?
I’ve read and followed (I think) all the tutorials I can find – any help is 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!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Enter your email to get $200 in credit for your first 60 days with DigitalOcean.
New accounts only. By submitting your email you agree to our Privacy Policy.
Hi there,
Your Nginx server block for a Laravel application should look as follows:
You can follow this step by step tutorial on how to install Laravel with LEMP here:
Alternatively, you can use this 1-Click installation image here:
Here is a step by step tutorial on how to use the 1-Click installation image:
Best,
Bobby