How to Set Up SSL with NGINX

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 ม.ค. 2025

ความคิดเห็น • 69

  • @OnyxMP312
    @OnyxMP312 4 ปีที่แล้ว +22

    Maybe its a given but to anyone trying to troubleshoot errors please first make sure you DO have port 443 open for inbound traffic to your server :)
    Also thanks for the video; very short, sweet, and to the point!

  • @obaidniazi
    @obaidniazi 3 ปีที่แล้ว +4

    That convinces me some people are born teachers and vice-versa... I wasted so much time to no avail and even when I made it work I didn't know what I did right. Thankyou for helping!

  • @NightpireVideos
    @NightpireVideos 3 ปีที่แล้ว +3

    Worked for me without the 301 redirect. Thank you!

  • @SuperJavierus
    @SuperJavierus 4 ปีที่แล้ว +1

    you don´t know how happy I feel, I have been trying to figure this out whole day, It is super easy

    • @roshanshetty1488
      @roshanshetty1488 11 หลายเดือนก่อน

      I'm seeking advice on obtaining an HTTPS certificate for my web app hosted on Nginx running on my Windows laptop. Could you please share recommendations or resources for configuring HTTPS certificates effectively in a Windows environment? in winows ,how ?

  • @kcbm225
    @kcbm225 8 หลายเดือนก่อน

    Amazing tutorial and straight to the point

  • @diyorbektolibov3156
    @diyorbektolibov3156 2 ปีที่แล้ว +1

    It works in my server. Thanks for video!

  • @fsudave87
    @fsudave87 4 ปีที่แล้ว +2

    At 2:41 the caption at the top-right: ssl_certificate specifies the server certificate file, not the public key.

  • @Khosmunkhdev
    @Khosmunkhdev 7 หลายเดือนก่อน +1

    Fla mafkin cool, Ah naraasaa asuu duu!

  • @Retr0Rob
    @Retr0Rob 5 ปีที่แล้ว +5

    This was very useful in helping me with the basics of setting up SSL on my moodle server. Thanks much!

  • @tanishq-singh
    @tanishq-singh 2 ปีที่แล้ว

    finally something worked, thankyou 🥺🥺

  • @rokfam
    @rokfam 4 ปีที่แล้ว +4

    It may be helpful to provide a link to the video referenced in the start of this tutorial - "How to serve starter static content video".

    • @nginx_official
      @nginx_official  4 ปีที่แล้ว +2

      Here's the video th-cam.com/video/jGHyaBpEn0g/w-d-xo.html

  • @JohnDoe-fv5cu
    @JohnDoe-fv5cu 5 ปีที่แล้ว +9

    Very useful. But, the problem of this video is that it's hard to see anything. One have to go fullscreen to be able to read the commands. Anyway, thumbs up

    • @SumoCumLoudly
      @SumoCumLoudly 4 ปีที่แล้ว +2

      incredibly this is a problem with about 80% of videos that show code, they waste so much screen real estate and use tiny font, its such a basic oversight for so many otherwise decent channels

  • @marckaeser3565
    @marckaeser3565 5 ปีที่แล้ว +6

    yeah that was very helpful, thank you very much :-)

  • @VANTYCSolutions
    @VANTYCSolutions 4 ปีที่แล้ว +7

    Works perfect! Thank you. How to do the same but with two or more domains?

  • @k-diddy5292
    @k-diddy5292 4 ปีที่แล้ว +1

    By default, should there be something in the condition.d file location because mine shows that it’s empty

  • @tuval012
    @tuval012 5 ปีที่แล้ว +1

    Excellent tutorial

  • @RupamBumba
    @RupamBumba 4 ปีที่แล้ว +2

    how you are using www.example.com/ ???

    • @romantokar8885
      @romantokar8885 9 หลายเดือนก่อน

      By creating DNS server on our machine

  • @rakeshpk4991
    @rakeshpk4991 3 ปีที่แล้ว

    Commands are not readable when viewing on mobile devices.

  • @homeuser3108
    @homeuser3108 3 ปีที่แล้ว

    I am so happy!

  • @crcacom
    @crcacom 4 ปีที่แล้ว +1

    Great. Thanks!

  • @matthewbarrett5396
    @matthewbarrett5396 3 ปีที่แล้ว

    i used aws to set up NGINX and used a route 53 to link my domain since i didnt host it on AWS, should i be putting hte domain name or the ip address in when coding this in?

  • @filipemontt
    @filipemontt 2 ปีที่แล้ว

    how to remove error invalid cert ?

  • @consoledoterror971
    @consoledoterror971 3 ปีที่แล้ว +1

    font size too small for me.

  • @christianrogeriocamaradeab517
    @christianrogeriocamaradeab517 2 ปีที่แล้ว +1

    I will try activate my server Nginx with HTTPS with this. Thanks!

  • @rickarddeman6560
    @rickarddeman6560 3 ปีที่แล้ว

    Am I misundrstanding something? Wasn't the purpose to set up ssl? Because the ssl still says not secure in the end?

    • @omkarnag24
      @omkarnag24 ปีที่แล้ว

      The certificate was self signed. Thus, it cannot be trusted. For a certificate to be trusted, it should be signed by a certificate authority (ex: Let's Encrypt)

    • @podunkman2709
      @podunkman2709 3 หลายเดือนก่อน

      You are not the only one. SSL was not applied. She only enabled https protocol WITHOUT valid certificate.

  • @daumtto
    @daumtto 4 ปีที่แล้ว

    why don't this tutorial use ssl on; statement in config file?
    I followed this ssl tutorial with ssl on; missing. and it didnt' work.
    then I inserted "ssl on;", it worked!
    I am new to this whole thing!
    maybe nginx changed since 2018?

  • @celfinkmagadu2185
    @celfinkmagadu2185 4 ปีที่แล้ว

    How do iI do all of this in w windows server , please help.

  • @ZillaYT
    @ZillaYT 2 ปีที่แล้ว

    Why do people use small fonts?

  • @adventurousnomad7402
    @adventurousnomad7402 4 ปีที่แล้ว

    thank you very much...it worked 100%......i love the background music btw

  • @krishnamrajgoud
    @krishnamrajgoud 3 ปีที่แล้ว

    Thanks this helped.

  • @b2i
    @b2i 2 ปีที่แล้ว

    i do the same setup as video but it shows "nginx: configuration file /etc/nginx/nginx.conf test failed"
    after i submit the "nginx -t" 🥲

  • @yamensaban4187
    @yamensaban4187 4 ปีที่แล้ว

    how to remove the not secure sign

  • @normajeanchariot
    @normajeanchariot 5 ปีที่แล้ว

    Doesn't work for me. I get error number 110 and 111

  • @RelabTV
    @RelabTV 2 ปีที่แล้ว +1

    helpful simple explanation, love it!

  • @spitsn
    @spitsn 4 ปีที่แล้ว

    Certificado Invalido. El ejemplo no sirve.
    Invalid Certificate . The example was not found!!

  • @chiomaezedi9955
    @chiomaezedi9955 4 ปีที่แล้ว

    Can I have one SSL port 443 for domain and subdomain? I tried and realise subdomain http not working

  • @santiziano2118
    @santiziano2118 6 ปีที่แล้ว

    Nice and informative video. Thanks

  • @davidmurphy563
    @davidmurphy563 3 ปีที่แล้ว

    I stand zero chance of being able to read this miniscule code on my phone. Bigger font please.

  • @awesomemotor5728
    @awesomemotor5728 5 ปีที่แล้ว

    So if we assign the real SSL certificate, we will get "Green signal and secure connection right"?

    • @ojay2001
      @ojay2001 5 ปีที่แล้ว

      yes, that is correct

  • @kajalkuchekar5293
    @kajalkuchekar5293 ปีที่แล้ว

    are you guys even able tp see whats written

  • @minhthinhhuynhle9103
    @minhthinhhuynhle9103 2 ปีที่แล้ว

    Too bad Resolution !!! Please focus on the terminal and zoom it as big as possible

  • @xamogxusx
    @xamogxusx 6 ปีที่แล้ว

    nginx: [emerg] "server" directive is not allowed here in /etc/nginx/nginx.conf:1

  • @azuleno17
    @azuleno17 5 ปีที่แล้ว

    I love you! thanks!!

  • @normajeanchariot
    @normajeanchariot 5 ปีที่แล้ว

    Why does she create a whole new conf file? It seems she would have two being the default.conf file AND the www.example.com.conf file. Why wouldnt you just modify the existing conf file? And how does the server know which conf file to use?

    • @jeffstandishsux
      @jeffstandishsux 4 ปีที่แล้ว +1

      It's convention to name everything (folders, file names etc) as the domain name. I'm not an IT person, and so I can't defend this convention, but, it's most likely because servers can host lots of different websites, each with a different domain name, and all of them need their own document root directory (to house the web pages) and .conf file. I'm sure you can appreciate it would be easier find something when searching through folders labelled by their domain name - rather than to remember whether it's in the folder labelled 'website1' or 'website50'. The server knows which directory to go to because you set up "server blocks" using the sites-available and sites-enabled directories in Nginx. The entire function of these is to get the domain name from the browser and direct it to the correct document root folder on the server and therefore show the correct website. If you wanted to host a single webpage on your server you absolutely could just modify the default.conf ... but your IT friends would look down on you for it.

  • @podunkman2709
    @podunkman2709 3 หลายเดือนก่อน

    But it dos NOT work! 😂 You just have 443 running but certificate was not applied

  • @fahnub
    @fahnub 2 ปีที่แล้ว

    helpful

  • @mdjaman7348
    @mdjaman7348 5 ปีที่แล้ว

    Thx so much sister :-)

  • @rajeshraghu9294
    @rajeshraghu9294 3 ปีที่แล้ว +1

    Poor video making. Such a small screen size. Should have maximised the terminal and increased the font size. Waste of time

  • @jakedoran5688
    @jakedoran5688 2 ปีที่แล้ว

    we're gonna go ahead and...

  • @DiegoChinchilla
    @DiegoChinchilla 5 ปีที่แล้ว

    thanks

  • @rakeshverma5099
    @rakeshverma5099 4 ปีที่แล้ว

    Good

  • @slimrambo4859
    @slimrambo4859 4 ปีที่แล้ว +1

    next time zoom in cause i cant see shit

  • @myink4009
    @myink4009 6 ปีที่แล้ว +1

    看不见啊

  • @Alexlinnk
    @Alexlinnk 2 ปีที่แล้ว

    I get "ERR_TOO_MANY_REDIRECTS" :(

  • @AlickXaviera
    @AlickXaviera 4 หลายเดือนก่อน

    7170 Gerson Bridge

  • @adventurousnomad7402
    @adventurousnomad7402 4 ปีที่แล้ว +1

    thank you very much...it worked 100%......i love the background music btw