Deploy Laravel on Ubuntu Nginx server

Поделиться
HTML-код
  • Опубликовано: 14 окт 2024

Комментарии • 155

  • @wormy_coder
    @wormy_coder 4 месяца назад +1

    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.❤❤❤

  • @mohamedmansor9035
    @mohamedmansor9035 Год назад +2

    Thank you. It was very helpful finding a clear way of deploying into nginx

  • @wormy_coder
    @wormy_coder 4 месяца назад

    First time i watched your videos, i successfully deploy my laravel apps. You deserve a subscriber

  • @didianasfudi1629
    @didianasfudi1629 11 месяцев назад +2

    thank you, for making this part ♥

  • @bohemianrhapsody3920
    @bohemianrhapsody3920 Год назад +1

    you described it as simple as possible keep it up

  • @nickponcho
    @nickponcho Год назад +1

    Thank you so much!! THis really helped me deploying my laravel apps on Azure as well

  • @imanaski1878
    @imanaski1878 10 месяцев назад +1

    Very nice walk through, Thank you.

  • @fiacrebarthelemyngouang1328
    @fiacrebarthelemyngouang1328 Год назад +1

    good, thanks

  • @irfan_susilo
    @irfan_susilo Год назад

    well documented instructions, thank you

  • @qwizzwizz
    @qwizzwizz Год назад +1

    Very concise and clear. Thank yoU!

  • @EddieMao
    @EddieMao 9 месяцев назад

    Fantastic tutorial video, thank you so much, Susan.

    • @codewithsusan
      @codewithsusan  9 месяцев назад

      You're welcome; thanks for watching Eddie.

  • @andraan07
    @andraan07 11 месяцев назад

    Going to try this out on my next project - thanks!

  • @chibuikeumezinwa7827
    @chibuikeumezinwa7827 6 месяцев назад

    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

  • @shadrackabely1013
    @shadrackabely1013 Год назад

    I have struggled with this but thanks alot you have helped me alot

  • @mahmoudalsharqawi9019
    @mahmoudalsharqawi9019 7 месяцев назад

    Thanks for your efforts. It was very helpful.

  • @helloitsjury
    @helloitsjury Год назад +1

    So easy to follow, thank you!

  • @imcalled_ali
    @imcalled_ali 6 месяцев назад

    tnx for your clear and easy explanation

  • @okerik8099
    @okerik8099 6 месяцев назад

    Thank you Susan, it works!

  • @cubedev4838
    @cubedev4838 Год назад

    Amazing, please cover how to deploy in staging, production and how to setup all this things...

  • @teamscits5621
    @teamscits5621 11 месяцев назад

    Nice explanation. Thanks.

  • @mahdisolati697
    @mahdisolati697 3 месяца назад

    Very Thanks .it was helpful

  • @taofeekakinkunmi8990
    @taofeekakinkunmi8990 Месяц назад

    Thank you, this video is helpful

  • @da_saint2948
    @da_saint2948 Год назад

    this is apt and very clear. Thank you.

  • @Afhamou
    @Afhamou Год назад

    Thank you. The video was helful

  • @cardenat
    @cardenat Год назад

    Excellent explanation, please could you make a video deploying to aws ec2 instance for Laravel api app?. Thanks a lot

  • @psreepathi
    @psreepathi Год назад

    Going to try this in my next project

  • @Vishwanath-u6z
    @Vishwanath-u6z Год назад

    great video helped me alot with my deploying process

  • @Just-dg4je
    @Just-dg4je 11 месяцев назад

    Very helpful video

  • @Uri77
    @Uri77 Год назад

    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.

  • @rafaelmaghari8033
    @rafaelmaghari8033 Год назад

    Thanks for this!

  • @user-vm7su4rj7f
    @user-vm7su4rj7f Год назад

    Great, thank you

  • @wholfgang
    @wholfgang Год назад

    thank you for the video

  • @SaidFlores-z3j
    @SaidFlores-z3j Год назад

    me encata tus videos

  • @mootuun
    @mootuun Год назад

    Thank you so much!!

  • @chathushkarodrigo8071
    @chathushkarodrigo8071 Год назад

    going to try this out Thanks

  • @luispinedamiranda793
    @luispinedamiranda793 Год назад

    Thanks a lot Sussan!!!

  • @wtatari
    @wtatari Год назад

    Really helpful, thank you

  • @boochiboochi
    @boochiboochi Год назад

    thx for this tutorial!

  • @brandong8323
    @brandong8323 Месяц назад

    how do i make nginx server find my build files in the public/build/assets folder I'm confused

  • @HarrisMariano-m2h
    @HarrisMariano-m2h Год назад

    Thank You!

  • @ShaminurRezaRana
    @ShaminurRezaRana Год назад

    going to try this out

  • @danialadzlizan7771
    @danialadzlizan7771 Год назад

    Thank youuuu

  • @CodeFusionDev
    @CodeFusionDev Год назад

    it so helpful and easy guide

  • @ykadi551
    @ykadi551 Год назад

    Thank you for your share

  • @MuhammedSaidTaylan
    @MuhammedSaidTaylan Год назад

    thanks for your sharing

  • @germanramirez9535
    @germanramirez9535 Год назад

    Super useful thanks :)

  • @tahaabujrad7806
    @tahaabujrad7806 Год назад

    Great Video

  • @logsnroll
    @logsnroll Год назад

    Good tutorial!

  • @rakhafebryzarasendriya2313
    @rakhafebryzarasendriya2313 Год назад

    very useful, thanks

  • @antwibosiako7840
    @antwibosiako7840 Год назад

    Very helpful video

  • @emerydusabe5813
    @emerydusabe5813 Год назад

    Tres bonne pratique

  • @JMBAWORKS
    @JMBAWORKS Год назад

    thanks for the info

  • @nataliesagnoy3579
    @nataliesagnoy3579 Год назад

    very informative.

  • @yassineachour8352
    @yassineachour8352 Год назад

    Great video, can you cover how to host multiple Laravel apps in one nginx server

    • @codewithsusan
      @codewithsusan  Год назад

      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

  • @PolycampusLearningManagement
    @PolycampusLearningManagement Год назад

    Thanks.

  • @WahyuWidiastono
    @WahyuWidiastono Год назад

    try this for my new project

  • @CTO-q6m
    @CTO-q6m Год назад

    perfect and simple)

  • @trickas9861
    @trickas9861 11 месяцев назад

    Thank you!

  • @JobyElias
    @JobyElias Год назад

    informative...

  • @ytwatcher-e7x
    @ytwatcher-e7x Год назад

    thank you

  • @PratikPawar-i9v
    @PratikPawar-i9v Год назад

    great video

  • @qwizzwizz
    @qwizzwizz Год назад

    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.

    • @codewithsusan
      @codewithsusan  Год назад

      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.

    • @qwizzwizz
      @qwizzwizz Год назад

      @@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.

  • @codedjango
    @codedjango Год назад

    Do you have any video on how to deploy backend e.g. Django and frontend e.g. Vue3 both on nginx?

    • @codewithsusan
      @codewithsusan  Год назад

      Not at the moment - I don't work much with Django (nothing against it, just don't use it currently).

    • @codedjango
      @codedjango Год назад

      Sure thanks...

  • @RiddleRover
    @RiddleRover Год назад

    Thanks

  • @gowthamchakkarapani1482
    @gowthamchakkarapani1482 Год назад

    I tried, it didnt worked for me. Need to see the issues list mentioned

  • @Uri77
    @Uri77 Год назад

    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 ?

    • @Uri77
      @Uri77 Год назад

      what kind of permission I have to give to www folder ?? What is the best practice for permission in that folder ?

    • @codewithsusan
      @codewithsusan  Год назад +1

      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`

  • @caXos
    @caXos Год назад

    Subscribed!

  • @DimasBayuSampurno
    @DimasBayuSampurno Год назад

    Good!

  • @mohammedinam4324
    @mohammedinam4324 Год назад

    Helpful

  • @itsronnylicious
    @itsronnylicious Год назад

    thank you!

  • @jintuvincent8732
    @jintuvincent8732 Год назад

    good one

  • @sumitkumarbag9113
    @sumitkumarbag9113 Год назад

    helpful video

  • @programmingcircuit
    @programmingcircuit 11 месяцев назад

    thank you

  • @BhavyaDaiya
    @BhavyaDaiya Год назад

    Thanks!

  • @lucasguedes3498
    @lucasguedes3498 Год назад

    ty

  • @Autopoietico
    @Autopoietico 11 месяцев назад

    Good video! :D

  • @dineshindn4404
    @dineshindn4404 11 месяцев назад

    nice videos

  • @jcp637
    @jcp637 Год назад

    ¡Suscrito!

  • @zukuchi-f8b
    @zukuchi-f8b Год назад

    nice

  • @Un1KeN
    @Un1KeN Год назад

    cool

  • @manjulsigdel3671
    @manjulsigdel3671 Год назад

    Good video

  • @PsixTsix
    @PsixTsix 11 месяцев назад

    Nice

  • @Pranavdazzler
    @Pranavdazzler Год назад

    graet

  • @KienNguyen-sg1nf
    @KienNguyen-sg1nf Год назад

    Good

  • @Bathmaraj-c5r
    @Bathmaraj-c5r Год назад

    tq

  • @bluesky6704
    @bluesky6704 Год назад

    thank you but i have a an issue my defualt nginx web page still showing not my app

    • @codewithsusan
      @codewithsusan  Год назад

      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.

  • @tiengdev
    @tiengdev 11 месяцев назад

    great

  • @MhadiAhmed
    @MhadiAhmed Год назад

    good

  • @DimasBayuSampurno
    @DimasBayuSampurno Год назад

    Nice Konten

  • @josematimbe638
    @josematimbe638 Год назад

    thanks !

  • @carlsagan4285
    @carlsagan4285 11 месяцев назад

    good job

  • @SandeepSharma-kk4sn
    @SandeepSharma-kk4sn Год назад

    good

  • @akashdhiiman
    @akashdhiiman Год назад

    Subscribed

  • @abdulkarimomer6290
    @abdulkarimomer6290 11 месяцев назад

    nice

  • @parinda.befikar
    @parinda.befikar Год назад

    nice video

  • @imadelcass7182
    @imadelcass7182 11 месяцев назад

    thanks

  • @bluesky6704
    @bluesky6704 Год назад

    done

  • @tanphan3426
    @tanphan3426 Год назад

    Or, simply say, ”Subscribed!”

  • @rootuser-i8w
    @rootuser-i8w 6 месяцев назад

    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

    • @codewithsusan
      @codewithsusan  5 месяцев назад

      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.