From now on I will now move to nginx to deploy my apps its not difficult compare to apache so much configuration. You have to run this or else your app will not work. Thanks for this tutorial.❤❤❤
Good lesson. I'm having issue making my uploaded files in storage served by nginx. i have followed every step in this video. i use public disk and has ran the "PHP artisan storage:link" command but no luck. what else do I need to do Thanks
I have read and done many tutorials to deploy laravel in an aws instance (lightsail) and none have worked for me. Why is so complicated ? Maybe with docker I can do it. I noob in devOps job.
I have a guide that's not specific to Laravel but it does show how to set up multiple sites on one Nginx server: ruclips.net/video/omPd93uLQDc/видео.html
After following all steps I keep encountring 403 Forbidden issue on nginx. I assume its not laravel issue but more of nginx issue. Can you please advise what i may be doing wrong.
Check the output of running "sudo nginx -t". It will let you know if you have any issues in your site configs. Also, here's a separate guide I have on setting up sites on Nginx specifically that might be helpful: ruclips.net/video/omPd93uLQDc/видео.html If neither of those things get you on track, drop me an email (mail@codewithsusan.com) and I can help you troubleshoot further.
@@codewithsusan running sudo nginx -t gives following output: nginx: the configuration file /etc/nginx/nginx.conf syntax is ok nginx: configuration file /etc/nginx/nginx.conf test is successful Thanks for the link I will check that if still stuc will email you! Cheers Susan.
I follow all steps but, when a try to clone: fatal: could not create work tree dir 'my-repol': Permission denied, I did all steps in your tuto..SSH Keys and Github ... and Permission denied, What do I have to do ?
It sounds like the user you are operating as does not have write access to the www directory. You can try prefixing the clone command with `sudo` so it will execute it with root privileges. Alternatively, you can change the owner of the `www` directory to whatever user you’re operating as. This can be down with the `chown` command following this pattern: `chown username -r www`
Try running the command nginx -T | grep "server_name " to see all the server names your nginx server currently has enabled. Confirm the domain (or subdomain) you're setting up is listed there. If it's not, recheck all the steps outlined in the video. If it is and it's still not working, drop me an email at mail@codewithsusan.com with a copy of your site config and I can take a look.
Can recommend ne what is the best solutuon for setting owrmisison for my latavel directory Assuming var/www/test is my laravel oroject stored Currently im doing as owner is root Group owber is www data Is this a good solution. Sometimes i need to run acript in the server. Please guide me on how to setup a proper permissions
The solution you mentioned, with the owner set to root and the group set to www-data (or the user under which your web server runs), is a common and reasonable approach. That being said, it's generally recommended to set the owner to the user account that will be managing the project (e.g., your user account), rather than root. This helps prevent accidental changes or modifications by the root user.
From now on I will now move to nginx to deploy my apps its not difficult compare to apache so much configuration. You have to run this or else your app will not work. Thanks for this tutorial.❤❤❤
Thank you. It was very helpful finding a clear way of deploying into nginx
First time i watched your videos, i successfully deploy my laravel apps. You deserve a subscriber
thank you, for making this part ♥
you described it as simple as possible keep it up
Thank you so much!! THis really helped me deploying my laravel apps on Azure as well
Glad it helped!
Very nice walk through, Thank you.
good, thanks
well documented instructions, thank you
Very concise and clear. Thank yoU!
Fantastic tutorial video, thank you so much, Susan.
You're welcome; thanks for watching Eddie.
Going to try this out on my next project - thanks!
Good lesson.
I'm having issue making my uploaded files in storage served by nginx. i have followed every step in this video. i use public disk and has ran the "PHP artisan storage:link" command but no luck. what else do I need to do
Thanks
I have struggled with this but thanks alot you have helped me alot
Thanks for your efforts. It was very helpful.
So easy to follow, thank you!
tnx for your clear and easy explanation
Thank you Susan, it works!
Amazing, please cover how to deploy in staging, production and how to setup all this things...
Nice explanation. Thanks.
Very Thanks .it was helpful
Thank you, this video is helpful
this is apt and very clear. Thank you.
Thank you. The video was helful
Excellent explanation, please could you make a video deploying to aws ec2 instance for Laravel api app?. Thanks a lot
Going to try this in my next project
great video helped me alot with my deploying process
Very helpful video
I have read and done many tutorials to deploy laravel in an aws instance (lightsail) and none have worked for me. Why is so complicated ? Maybe with docker I can do it. I noob in devOps job.
Thanks for this!
Great, thank you
thank you for the video
me encata tus videos
Thank you so much!!
going to try this out Thanks
Thanks a lot Sussan!!!
Really helpful, thank you
thx for this tutorial!
how do i make nginx server find my build files in the public/build/assets folder I'm confused
Thank You!
going to try this out
Thank youuuu
it so helpful and easy guide
Thank you for your share
thanks for your sharing
Super useful thanks :)
Great Video
Good tutorial!
very useful, thanks
Very helpful video
Tres bonne pratique
thanks for the info
very informative.
Great video, can you cover how to host multiple Laravel apps in one nginx server
I have a guide that's not specific to Laravel but it does show how to set up multiple sites on one Nginx server: ruclips.net/video/omPd93uLQDc/видео.html
Very good
Thanks.
try this for my new project
perfect and simple)
Thank you!
informative...
thank you
great video
After following all steps I keep encountring 403 Forbidden issue on nginx. I assume its not laravel issue but more of nginx issue. Can you please advise what i may be doing wrong.
Check the output of running "sudo nginx -t". It will let you know if you have any issues in your site configs.
Also, here's a separate guide I have on setting up sites on Nginx specifically that might be helpful: ruclips.net/video/omPd93uLQDc/видео.html
If neither of those things get you on track, drop me an email (mail@codewithsusan.com) and I can help you troubleshoot further.
@@codewithsusan running sudo nginx -t
gives following output:
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
Thanks for the link I will check that if still stuc will email you! Cheers Susan.
Do you have any video on how to deploy backend e.g. Django and frontend e.g. Vue3 both on nginx?
Not at the moment - I don't work much with Django (nothing against it, just don't use it currently).
Sure thanks...
Thanks
I tried, it didnt worked for me. Need to see the issues list mentioned
I follow all steps but, when a try to clone: fatal: could not create work tree dir 'my-repol': Permission denied, I did all steps in your tuto..SSH Keys and Github ... and Permission denied, What do I have to do ?
what kind of permission I have to give to www folder ?? What is the best practice for permission in that folder ?
It sounds like the user you are operating as does not have write access to the www directory.
You can try prefixing the clone command with `sudo` so it will execute it with root privileges.
Alternatively, you can change the owner of the `www` directory to whatever user you’re operating as. This can be down with the `chown` command following this pattern: `chown username -r www`
Subscribed!
Good!
Helpful
thank you!
good one
helpful video
thank you
Thanks!
ty
Good video! :D
Thanks! 😁
nice videos
¡Suscrito!
nice
cool
Good video
Nice
graet
Good
tq
thank you but i have a an issue my defualt nginx web page still showing not my app
Try running the command nginx -T | grep "server_name " to see all the server names your nginx server currently has enabled. Confirm the domain (or subdomain) you're setting up is listed there. If it's not, recheck all the steps outlined in the video. If it is and it's still not working, drop me an email at mail@codewithsusan.com with a copy of your site config and I can take a look.
great
good
Nice Konten
thanks !
good job
Thanks Carl!
good
Subscribed
nice
nice video
thanks
done
Or, simply say, ”Subscribed!”
Can recommend ne what is the best solutuon for setting owrmisison for my latavel directory
Assuming var/www/test is my laravel oroject stored
Currently im doing as owner is root
Group owber is www data
Is this a good solution.
Sometimes i need to run acript in the server.
Please guide me on how to setup a proper permissions
The solution you mentioned, with the owner set to root and the group set to www-data (or the user under which your web server runs), is a common and reasonable approach.
That being said, it's generally recommended to set the owner to the user account that will be managing the project (e.g., your user account), rather than root. This helps prevent accidental changes or modifications by the root user.