Install and Use NGINX Proxy Manager | Docker Series

Sdílet
Vložit
  • čas přidán 24. 01. 2023
  • Synthetic Everything demonstrates how to install and use NGINX Proxy Manager. NGINX Proxy Manager allows you to easily configure a reverse proxy and secure your website through SSL certificates provided by LetsEncrypt.
    Documentation referenced: nginxproxymanager.com/guide/#...
    Install Docker/Portainer: • Installing Docker and ...
    Series Playlist: • Docker Series
    Have A Suggestion For A New Video Comment Below And I Will Get Back To You As Soon As Possible!
    Check out our website: syntheticmediagroup.com/
    Join our Discord server: / discord
    Outro Music:
    "My Luck," by Broke For Free
  • Jak na to + styl

Komentáře • 85

  • @orcamay
    @orcamay Před 17 dny +1

    you are literally a legend, you have no idea my gratitude towards your videos omfg. actual life saver. thank you so much

  • @louiseperrot3817
    @louiseperrot3817 Před rokem

    Thank you so much ! Honestly your tutorials are the bests

  • @Pray4Tre
    @Pray4Tre Před rokem +10

    Finally someone who knows what they are doing, breaks it down easily for anyone to follow. You rock man! Following your whole series (i'm a noob to docker/portainer/nginx) and you're the first person i've found that is simple, easy to follow and new/updated.

  • @TheFabbro96G
    @TheFabbro96G Před 5 měsíci

    You saved me a lot of days of works and study, thank you really much, man

  • @IvanDeSousaJR
    @IvanDeSousaJR Před rokem

    You are awesome! This is a super powerful learning! Super Thanks!

  • @michaelcooper5490
    @michaelcooper5490 Před 5 měsíci

    Very well done, Thank you for your tutorial. I actually I learned something I wasn't aware of. Thank you again awesome job.

  • @veruTV
    @veruTV Před 6 měsíci

    Thank you very much for your tutorials! These are one of the best one I have come across for my needs. I subbed and look forward to your content even if they're not tutorials. I knew nothing or have education about Linux a month ago and now I'm slowly working my way up. It has been really frustrating at times but I persevered. I'm so new, that I didn't understand what you meant by port forwarding the 80 and 443 ports. So I accidentally exposed my router's login page when I set up my domain name on the Proxy Manager. 🤣 That was actually hilarious to me but now I see you meant I probably had to port forward the ip address on that page inside my router.

  • @Osmosis909
    @Osmosis909 Před rokem +1

    I’ve been struggling with setting this up, originally I used docker compose and it went all…wrong. But your tutorial is awesome and I have it all working, thank you!!!!

  • @Kinatera.
    @Kinatera. Před rokem +1

    thank you so much, my dumbass spent like 7 hours trying to figure this out and you solved it for me in 7 minutes

  • @azarielisrael6271
    @azarielisrael6271 Před 7 měsíci

    This was a very helpful video. Thank you!

  • @msoltanftw
    @msoltanftw Před rokem

    This helped a ton, thank you!

  • @startide
    @startide Před 9 měsíci

    Thanks a ton for that tutorial, I don't know much about linux or that stuff but I was happily following along and I could get it to work. I got an "internal error" when trying to make the certificate, but it worked out in the end (I think I messed up http and https somewhere). All good now !

  • @bgproductionsmedia4168

    Perfect thanks works well

  • @hanisntsolo
    @hanisntsolo Před rokem

    Thanks brother it works

  • @uxodi
    @uxodi Před rokem +1

    PERFECT :)))

  • @barryarmstrong5232
    @barryarmstrong5232 Před 11 měsíci

    Awesome thanks a lot

  • @mariuszkolodziejski5484

    Many thanks you are boss for me :P

  • @andrejskhlucshkin1505
    @andrejskhlucshkin1505 Před rokem +8

    Hey I like your tutorial helps me a lot more understand dockers, But I'm getting an error in the nginx manager. when I try to add a SSL it says " internal error " is there a work around that ? cause my isp doesn't let me open up port 80.
    Is there a way to do a DNS-challenge ?

  • @TismoGaming
    @TismoGaming Před 9 měsíci +1

    Is port forwarding the only option? Can I use Cloudflare tunnel instead? I don’t like messing with my router’s ports

  • @iainmccarron3953
    @iainmccarron3953 Před 2 měsíci

    Thank you so much for the videos, its been a life safer so far. Clear concise instructions that are easy to follow. Hopefully you can help, i already had Portainer and Nextcloud setup on my Pi. When i went to add NGINX i kept getting a "request failed with status code 500" message. Could you offer any advice on how to resolve this?

  • @Oogobuk
    @Oogobuk Před rokem

    what if you have current docker containers running (inside of Truenas scale)... do you need portainer or compose? and will it mess up the contains I currently have running.. .seems anytime I touch my contains/apps like nextcloud, they lose their minds and I have to re-install the whole thing..

  • @MdMozammelHossain
    @MdMozammelHossain Před 11 měsíci

    hi, can you please make a video of Installing ERPNext Docker using portainer and NGINX Proxy Manger. with multitenancy option.

  • @BeatYourAss99
    @BeatYourAss99 Před 8 měsíci +1

    Hello, i followed your guide and everything works great but when my system reboots, nginx loses configurations and I have to resetup admin user and password, along with all my other settings. Do you know what could be the issue or how to fix?

  • @MdMozammelHossain
    @MdMozammelHossain Před 11 měsíci

    Followed your tutorial, problem is that I can connted console of any of the container. but if I directly put the IP address and port and get into the portainer, then only I can connect to other container's console.

  • @gosvoh
    @gosvoh Před rokem

    Will Authentication Logs show the user's real IP or the IP of the NPM container? Just wondering.

  • @theroboticscodedepot7736
    @theroboticscodedepot7736 Před 8 měsíci

    Is there a purpose for exposing the Portainer interface via a publicly available website other than personal convenience?
    For security reasons I would think that would be something reserved for internal network access only.

  • @mariuszkolodziejski5484

    I have one question for you. I did that but i get this information back: Congratulations!
    You've successfully started the Nginx Proxy Manager.
    If you're seeing this site then you're trying to access a host that isn't set up yet.
    Log in to the Admin panel to get started.

  • @Kaltenbrunner2
    @Kaltenbrunner2 Před 5 měsíci

    thanks for the video!
    can i also make it like this
    cloudflare > My bullet proof server -> new server with content
    So i just want the reverse proxy with the advanced protection is going to redirect to my website. you know what i mean?
    i hope you can help and tell me how to do :)

  • @sbodezzi00
    @sbodezzi00 Před rokem

    Hello, thank you for this tutorial. i have a ""problem" :
    in the section "map additional volume" instead of the host field i have the volume field and in don't understand how to change it to host. What i've to do? thank you

  • @LikeGodzzila
    @LikeGodzzila Před 4 měsíci

    I'm struggling, after the setup, port forwarding and everything, I keep getting a "no route to host" when trying to point to other docker containers... any tips?

  • @justin.trading
    @justin.trading Před rokem

    I followed these posts, now google in their infinite wisdom have given my URL a red border text saying Deceiptive site ahead and flagged it as Dangerous in the URL bar where the padlock normally appears. It thinks it's a phising site trying to steel personal data. Not at all happy about that, what can I do to get this fixed?

  • @B.4113n
    @B.4113n Před rokem +1

    whats up dawg, quick question. I created the docker container with Nginx in it, as well as the cloudflare account. Forwarded ports on my router to my NginX, and i have my domain as well. Now, when i try to use nginx, first of all i can't get it to actually use Let's encrypt, in fact each time i create a new proxy, theres an internal error, but i refresh the page and the proxy is there. Anyway, no matter what record i create in cloudflare, it will always point me to my NginXproxy Manager IP, never to my cloud, or portainer like in this case. Any ideas? Appreciate the help, great vid.

    • @rahuladepu5203
      @rahuladepu5203 Před rokem +2

      Did you find a solution to this? because I'm in the same boat as you. I'm guessing it has to do some with CGNAT for me.

  • @CBTBGAMING
    @CBTBGAMING Před měsícem

    so i would have to pay for a domain name in order to use nginx?

  • @fazlurrahmatullah3017
    @fazlurrahmatullah3017 Před 10 měsíci

    that NPM VM using IP Public?

  • @TihiKosac
    @TihiKosac Před 11 měsíci

    Great tutorial! Just started with homelab. I have a domain. Do you need fixed public IP address?

    • @SyntheticEverything
      @SyntheticEverything  Před 11 měsíci

      It makes things easier, but it's not required... There are some hacky ways to work around issues caused by IP changes.

    • @TihiKosac
      @TihiKosac Před 11 měsíci

      @@SyntheticEverything That was quick. By hacky ways do you mean dynamic DNS? Thanks.

    • @SyntheticEverything
      @SyntheticEverything  Před 11 měsíci +1

      That's one option, not particularly sure how to do that with a custom domain as I've always been lucky to have a static IP...
      By hacky ways I was referring to a few scripts I've seen floating around to automatically update (cloudflare) DNS records when the host's IP changes.

    • @TihiKosac
      @TihiKosac Před 11 měsíci

      @@SyntheticEverything Thanks.

  • @coteof7055
    @coteof7055 Před rokem +2

    I feel like I missed a step here. Why are you using 9443 at 9:01 when the ports you forwarded were 80 and 443? Not a huge networking person so I'm just sort of following along trying to get my stuff working.

    • @ianguarin9773
      @ianguarin9773 Před rokem +1

      He's forwarding portainer, not NGINX proxy manager.

    • @aaronjoesolomon
      @aaronjoesolomon Před rokem

      I have the same question/issue. I have port forwarding on my router for 80 and 443, and he doesnt mention 9443 in the video...was that setup earlier? All I know is that when he then connects to portainer via the external hostname - I cant move forward. ARG!!!

    • @aaronjoesolomon
      @aaronjoesolomon Před rokem

      Ok, right at the beginning of the video (0:18) - the portainer instance has 2 ports 9000/9443. I followed some other youtube video for installing portainer so only have port 9000 configured. Looks like I need to start from scratch over again with this video series (curious what else I'll break now[facepalm])

    • @aaronjoesolomon
      @aaronjoesolomon Před rokem

      ok back in business....YOU MUST FOLLOWING THE EARLIER VIDEOS TO SETUP PORTAINER....dont rely on other videos (glad I read the comments!)

    • @SyntheticEverything
      @SyntheticEverything  Před rokem +1

      Other videos are perfectly okay! The only thing that needs to be changed is the port number as Portainer now uses 9443, but used to use 9000, which older videos will not reflect.

  • @kdmiller45
    @kdmiller45 Před 11 měsíci +2

    What did you use 9443 where did the 9 come from

    • @TheKingofparis148
      @TheKingofparis148 Před měsícem

      did this ever get answer I'm trying to figure out the same thing

  • @SpaceSponge
    @SpaceSponge Před rokem

    mine keeps disconnecting and reconnecting every 1 hour some reason?

  • @dipoboyrogu9366
    @dipoboyrogu9366 Před rokem

    can you post a nginx config for portainer

  • @Afran3D
    @Afran3D Před rokem +1

    this was incredibly useful thank you!
    Though, I'm having issues with deploying the container - I keep getting "Request failed with status code 500". Any ideas on what I can do?

    • @Afran3D
      @Afran3D Před rokem +1

      welp turns out I'm just an idiot. OMV starts with port 80 so changing that allowed me to run nginx

    • @misterl9850
      @misterl9850 Před rokem

      @@Afran3D coud you explain in more details? I also get this error

    • @coolestapp1455
      @coolestapp1455 Před rokem +1

      Check if ports 80,81 or 443 is being used

  • @anirudhkumaran83
    @anirudhkumaran83 Před 6 měsíci

    Hey hi I am trying to access port 81 but it's not showing up. Not just nginx proxy Mngr, even other images such as portainer is not working with 81. Any solution please. Thanks in advance. I am running the docker on a vps.

    • @SyntheticEverything
      @SyntheticEverything  Před 6 měsíci

      It’s possible that the VPS blocks that port, however, it’s much more likely that the firewall on the OS is blocking the port. If your OS comes with UFW you can try ‘ufw allow 81/tcp’.
      Otherwise if you don’t have UFW just google how to open ports on the OS you’re using.

  • @bassam.2023
    @bassam.2023 Před 9 měsíci

    Unfortunately, as soon as I add port 80 to the container configuration, the deployment fails with error 500. This is on my Oracle compute instance.
    Everything works as in the video on Linode. I can't figure out why it works on one, but not the other. :/

    • @SyntheticEverything
      @SyntheticEverything  Před 9 měsíci

      That's odd, my best guess would be that the Oracle is blocking port 80. Does Oracle's web panel have any sort of option to port forward 80/443?

    • @bassam.2023
      @bassam.2023 Před 9 měsíci +1

      @@SyntheticEverything That's the thing, I've opened up port 80, 81, 443, all for TCP, from within the Oracle Ingress rules. I know I'm doing it in the correct place because other packages that I've used in the past (note, currently my linode compute instance is brand new) start working when I open up ports here.
      Thanks for your help either way, the video guide definitely does work. You might consider looking into the oracle free tier, not for my sake, but because it's a way to put out more content, for free (does take up your time of course).

  • @frank3nst31nz
    @frank3nst31nz Před 3 měsíci

    I just want to mention that for the ones getting the nginx error upon starting "nginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol)" indicates that NGINX Proxy Manager (NPM) within your Docker container is unable to bind to port 80 (IPv6 address) because this protocol might not be supported by your system's configuration. You can solve this by using portainer container settings and setting the env tab to add environment variable DISABLE_IPV6 with value of true. this will then allow the npm container to exlusivly bind to ipv4 and the issue was resolved . For me at last.

  • @WattsnabbAB
    @WattsnabbAB Před 5 měsíci

    sorry but on 2.58 you take a terminal but i dont understand witch terminal you use?

    • @SyntheticEverything
      @SyntheticEverything  Před 5 měsíci

      I’m connecting via SSH to the server running Docker/Portainer.
      www.digitalocean.com/community/tutorials/how-to-use-ssh-to-connect-to-a-remote-server

    • @WattsnabbAB
      @WattsnabbAB Před 5 měsíci

      @@SyntheticEverything thanks for fast reply. I will try it. Thanks a lot :)

  • @yairarriaga-ug7vi
    @yairarriaga-ug7vi Před rokem

    How can i do it with vps? Same process public ip?

    • @SyntheticEverything
      @SyntheticEverything  Před rokem

      Should be the same process assuming your VPS is running Ubuntu Server. If your provider doesn't give you an easy way to view your public IP, you can run something like this: curl ifconfig.me/ip

  • @DieserCoookieYT
    @DieserCoookieYT Před měsícem

    Damn, even after setting it up. My pages just say: "Webside not reachable"

  • @therealpepeu
    @therealpepeu Před 10 měsíci

    I get Request failed with status code 500 when I try to deploy it.

    • @JPEO
      @JPEO Před 9 měsíci

      I had the same error and it took me some time to fixed it, that error my dude is "a port conflict". Im not sure if there's a sequence on this, but I created NextCloud container first then NgnxPM then I got that error. I think it should be NgnxPM container first before NextCloud, or maybe this is just some bug in portainer. Anyway to fix that issue, remove the port 80 and 443 just leave the port 81 and you will be able to deploy the container.
      First I tried removeing the port 80 and leaving the port 81 and 443, but still got "Request failed with status code 500" so I removed the port 443 next and just leave the port 81 and I was able to deploy the container, you can try leaving the port 80 and 81 and just remove the 443 if it will work as well.
      version: '3.8'
      services:
      app:
      image: 'jc21/nginx-proxy-manager:latest'
      restart: unless-stopped
      ports:
      - '80:80' < ------ remove this
      - '81:81'
      - '443:443' < ------ remove this
      volumes:
      - ./data:/data
      - ./letsencrypt:/etc/letsencrypt

  • @mindymoore9553
    @mindymoore9553 Před rokem

    How do we do the port forwarding part? 8:17

    • @louiseperrot3817
      @louiseperrot3817 Před rokem +1

      I’m not sure myself but I think it’s in your router parameters, you should have something like “port management” where you’ll be able to forward your ports

    • @SyntheticEverything
      @SyntheticEverything  Před rokem +1

      I didn't cover that because it's different for every router. A quick Google search along the lines of "how to port forward

  • @randomgoogler8364
    @randomgoogler8364 Před 9 měsíci

    Is this for windows?

  • @user-vf5qy3uz5h
    @user-vf5qy3uz5h Před 7 měsíci

    idk why its not working can somebody help me

  • @user-lh8hn9kh9l
    @user-lh8hn9kh9l Před měsícem

    it's a shame, but not working at all

  • @armanis1234
    @armanis1234 Před 4 měsíci +1

    boom Error code 504 bad tutorial!

  • @anibalubilla5689
    @anibalubilla5689 Před měsícem

    5 minutes of fiddling with the container could had been solved if he had bite the bullet and used docker compose.
    Sure everyone is free to do whatever they want, but come on!

  • @Venkx
    @Venkx Před 3 měsíci

    too much skipping over important parts

  • @justin.trading
    @justin.trading Před rokem

    Do you need mariadb installed for this to work? I have been having all kinds of issues getting this to install using yml files. got docker and portainer installed may give this a go see how i get on. Hope this one works. If I have a docker folder owned by root and root group with 710 permissions set up on an external hard drive should I create the data files inside this docker folder or outside it in a new folder called nginx proxy manager. Also using external disk I have great big long directory like dev-disk-by-uuid88888888888888 etc should I use that in the paths anywhere?

  • @PeterParker-ji8kg
    @PeterParker-ji8kg Před rokem

    : SSL_ERROR_UNRECOGNIZED_NAME_ALERT... why?