Install and Use NGINX Proxy Manager | Docker Series
Тәжірибелік нұсқаулар және стиль
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
Пікірлер: 83
you are literally a legend, you have no idea my gratitude towards your videos omfg. actual life saver. thank you so much
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!!!!
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.
You saved me a lot of days of works and study, thank you really much, man
You are awesome! This is a super powerful learning! Super Thanks!
Very well done, Thank you for your tutorial. I actually I learned something I wasn't aware of. Thank you again awesome job.
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.
This was a very helpful video. Thank you!
This helped a ton, thank you!
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 !
thank you so much, my dumbass spent like 7 hours trying to figure this out and you solved it for me in 7 minutes
Perfect thanks works well
Thanks brother it works
PERFECT :)))
Awesome thanks a lot
Many thanks you are boss for me :P
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 ?
Is port forwarding the only option? Can I use Cloudflare tunnel instead? I don’t like messing with my router’s ports
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.
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..
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?
Will Authentication Logs show the user's real IP or the IP of the NPM container? Just wondering.
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?
hi, can you please make a video of Installing ERPNext Docker using portainer and NGINX Proxy Manger. with multitenancy option.
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.
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?
so i would have to pay for a domain name in order to use nginx?
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?
mine keeps disconnecting and reconnecting every 1 hour some reason?
that NPM VM using IP Public?
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 :)
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
@SyntheticEverything
Жыл бұрын
You need to select the button that says "bind"
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
Жыл бұрын
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.
can you post a nginx config for portainer
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
6 ай бұрын
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.
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
Жыл бұрын
He's forwarding portainer, not NGINX proxy manager.
@aaronjoesolomon
Жыл бұрын
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
Жыл бұрын
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
Жыл бұрын
ok back in business....YOU MUST FOLLOWING THE EARLIER VIDEOS TO SETUP PORTAINER....dont rely on other videos (glad I read the comments!)
@SyntheticEverything
Жыл бұрын
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.
Great tutorial! Just started with homelab. I have a domain. Do you need fixed public IP address?
@SyntheticEverything
11 ай бұрын
It makes things easier, but it's not required... There are some hacky ways to work around issues caused by IP changes.
@TihiKosac
11 ай бұрын
@@SyntheticEverything That was quick. By hacky ways do you mean dynamic DNS? Thanks.
@SyntheticEverything
11 ай бұрын
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
11 ай бұрын
@@SyntheticEverything Thanks.
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.
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
10 ай бұрын
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
10 ай бұрын
@@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).
What did you use 9443 where did the 9 come from
@TheKingofparis148
2 ай бұрын
did this ever get answer I'm trying to figure out the same thing
sorry but on 2.58 you take a terminal but i dont understand witch terminal you use?
@SyntheticEverything
6 ай бұрын
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
6 ай бұрын
@@SyntheticEverything thanks for fast reply. I will try it. Thanks a lot :)
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
Жыл бұрын
welp turns out I'm just an idiot. OMV starts with port 80 so changing that allowed me to run nginx
@misterl9850
Жыл бұрын
@@Afran3D coud you explain in more details? I also get this error
@coolestapp1455
Жыл бұрын
Check if ports 80,81 or 443 is being used
Damn, even after setting it up. My pages just say: "Webside not reachable"
How can i do it with vps? Same process public ip?
@SyntheticEverything
Жыл бұрын
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
I get Request failed with status code 500 when I try to deploy it.
@JPEO
10 ай бұрын
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' - '81:81' - '443:443' volumes: - ./data:/data - ./letsencrypt:/etc/letsencrypt
idk why its not working can somebody help me
@SyntheticEverything
7 ай бұрын
What part of it isn’t working? solhsa.com/dontask.html
How do we do the port forwarding part? 8:17
@SyntheticEverything
Жыл бұрын
I didn't cover that because it's different for every router. A quick Google search along the lines of "how to port forward
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.
Is this for windows?
@SyntheticEverything
10 ай бұрын
No
it's a shame, but not working at all
boom Error code 504 bad tutorial!
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!
too much skipping over important parts
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?
: SSL_ERROR_UNRECOGNIZED_NAME_ALERT... why?