Nginx Proxy Manager - How-To Installation and Configuration

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

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

  • @christianlempa
    @christianlempa  3 года назад +13

    Watch Next ➡️ Manage Docker Containers: ruclips.net/video/ljDI5jykjE8/видео.html

    • @kavithak1138
      @kavithak1138 3 года назад +1

      Thanks for the video. I have issue with database like below Error. can you help me out.
      Error while trying to initialise the database: An exception occurred while executing a query: SQLSTATE[HY000]: General error: 4047 InnoDB refuses to write tables with ROW_FORMAT=COMPRESSED or KEY_BLOCK_SIZE.

    • @markstanchin1692
      @markstanchin1692 2 года назад

      @@kavithak1138 I have the same issue. It involves editing in the md config file but I don’t know how to do it inside a docker container which was in a compose stack.

    • @amarnathadvocate2968
      @amarnathadvocate2968 2 года назад

      À

    • @iamrage4753
      @iamrage4753 2 года назад

      Hi Christian would this be the same process if using podman with fedora?

    • @Ghost_Cat174
      @Ghost_Cat174 2 года назад

      @@markstanchin1692 use portainer and attach a console/terminal to the container. edit: or just dont use -d at the end of the docker-compose command

  • @shugabaabrahamwuta1833
    @shugabaabrahamwuta1833 Год назад +7

    2 years down the line and this is still an invaluable resource.

  • @Seth-g3d
    @Seth-g3d 3 года назад +4

    Each time when I try to found something in another tuto, yours gave me the right solution always. I’ll stay here forever

  • @galhindi9257
    @galhindi9257 3 года назад +2

    I've just finished building the mail server after 2-3 days of headaches, with iredmail and manage that while hosting a website.
    Can't believe I found it after :P
    thanks!
    keep the good work.

  • @amosgiture
    @amosgiture 4 года назад +44

    It does not do everything but what it does it does very very well. The certificate auto-renewal and the ability to perform almost all reverse proxy functions on the GUI is just too good. However, apart from the initial setup, the official documentation is almost non-existent.

  • @dravokivich
    @dravokivich 2 года назад +7

    Thanks man! Was trying to figure this out over the last few days and the little bit of extra details you shared on this video helped a lot. Particularly when you pushed to explain how dependant it was, for the same networks to be used.

  • @kiritoast8377
    @kiritoast8377 3 года назад +3

    You save my life ! I was stuck for 1 week before watching your video. I had a port configuration problem (port 8080, 8181, 4443 instead of 80, 81, 443) because of the image configuration page on dockerHub

  • @huzefamustafa5326
    @huzefamustafa5326 3 года назад +1

    Just start working on managing multiple docker containers, your content is really helpful. Thanks

    • @christianlempa
      @christianlempa  3 года назад

      That's awesome 😎👍 thanks for sharing

  • @rgrf
    @rgrf 3 года назад +1

    Thank you Christian for providing a fast way to understand what, how and why. Please could you soon explain how containers, stack and networks fit together.

    • @christianlempa
      @christianlempa  3 года назад +1

      Great suggestion bro! I will make a future video about docker Networks, may take some weeks though

    • @Ematuresco
      @Ematuresco 2 года назад

      @@christianlempa ich bekomme bei 4:34 die Meldung bad gateway, nach dem ich die Zugangsdaten eingebe :(

  • @nfctinken
    @nfctinken 3 года назад +6

    Thank you so much for this video, as well as your others for Docker, Docker-Compose, etc., as they have truly helped me out. I am a novice in Linux, so showing all the steps, as well as explaining them, was fantastic. Cheers!

    • @christianlempa
      @christianlempa  3 года назад +1

      Thank you! I'm glad it helps you :)

    • @nfctinken
      @nfctinken 3 года назад

      @@christianlempa one question, do you know how I can set my specific docker-compose item to restart on reboot? I noticed when rebooting that system that NPM was not available again until I ran the up -d command. Thank you!

  • @victorcomposes
    @victorcomposes 4 года назад +7

    Why I'm I only seeing your channel now🤪, thank you for your great content.

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

    Appreciate the video Christian, thanks for putting this together!

  • @0983bozo
    @0983bozo 2 года назад +11

    It would be really nice if NPM was able to scan existing nginx entries on install and import them into the manager. I set up my nginx the manual way a long time ago and I really can't be bothered to now reset them all up through the manager. Shame though as it would be nice to have a UI to manage them all

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

      You can always use something like terraform/pulumi. This will be one time effort but after that you can migrate to other tools if you want as you will have ip:host mappings in one place.

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

      @@malborboss I ended up switching to Traefik, lol.

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

    Nice tutorial I have figure it out how to make it work with docker compose and it was hella fun.

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

    Great video. I keep coming here every while to review

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

    You are just amazing man. That's the most helpful video I watched on youtube this month. Thanks a lot!

  • @dtardis
    @dtardis 2 года назад

    This is a great video! Now I need to get this setup with my home server!

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

    Works great man ! Thanks for the lesson.

  • @helioradial
    @helioradial 2 года назад +1

    Fantastic work Christian, I have just started diving into docker. Thank you for the content, I have learnt so much from it!

    • @christianlempa
      @christianlempa  2 года назад

      Thank you so much! Glad you enjoy the content :)

  • @qiuyue4082
    @qiuyue4082 3 года назад +2

    Awesome content, I was looking for a confirmation of the docker network rule and you explained really clear.

  • @bryonbrill
    @bryonbrill 3 года назад +2

    You gained a subscriber there is tons of content here to be consumed in just one video! You sir, are amazing!

  • @bautistabaiocchi-lora1339
    @bautistabaiocchi-lora1339 3 года назад

    just found your channel. really solid videos. love the energy!

  • @AngriestEwok
    @AngriestEwok 2 года назад +1

    Sounds great. If only it actually worked for SSL certificate grabbing for digital ocean. I ended up installing nginx on it's own and doing everything on the command line.

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

    Very helpful especially for joking the np-m network and calling via name not ip addr

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

    Amazing tutorial. Thank you, Chris 😊

  • @GorkemYildirim
    @GorkemYildirim 4 года назад

    Very good solution for multiple subdomains.

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

    thanks didnt know this existed. Great for sharing my webapps with friends.

  • @gabscar1
    @gabscar1 10 месяцев назад

    Thanks for the video. I learned something and found it easy to follow and set up reverse proxies. I don't quite understand why you use docker, though. I'm running mine in a dedicated lxc.

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

    thank you Chis, i manage to make it work!

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

    Great info! Liked and subscribed!

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

    AWESOME VIDEO! THANKS

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

      Thank you so much! I'm glad you enjoyed the video!

  • @jairvandersterre1002
    @jairvandersterre1002 4 года назад +2

    I recently set this up aswell! It's a really awesome tool but it can sometimes corrupt your proxies, so beware. If you get a 502, it's not because your webapp isn't giving an invalid response. I think it's a bug. Just try to set it up and double check your advanced tab for any corruptions :D

    • @christianlempa
      @christianlempa  4 года назад

      Not sure what you mean, works for me 😜

    • @simmexx
      @simmexx 4 года назад +1

      Yepp, i get 502 aswell.
      going to bash my head against this today and hopefully will get an awnser later today ;)

    • @christianlempa
      @christianlempa  4 года назад +2

      502 is the communication between proxy and target failed for some reason, either http/https, wrong ip or similar

    • @simmexx
      @simmexx 4 года назад +1

      I was storing all my volumes on my NAS, and apparently i have some issues with authorization there since the DB wont write.
      I changed this to save locally on the docker-host and it worked like a charm.

  • @jartran
    @jartran 2 года назад +1

    Thank you so much! I got this working perfectly after having a bit of trouble with Traefik and HAProxy. I do have one question, how do I use this with my host network? For instance, I would like to use this for a secure connection to access my pfsense router using the FQDN. I already tried changing the network for NPM from the default network to host without luck. What am I missing?

  • @Omn1Slash
    @Omn1Slash 3 года назад +3

    Thank you for the great tutorial! Very helpful, and quite entertaining!

  • @kevinvalani5079
    @kevinvalani5079 2 года назад

    You are a gem.

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

    Thank you, usefull content!

  • @giovannisorrenti9782
    @giovannisorrenti9782 2 года назад

    you saved my life! Thank you!!!

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

    I don't know if something is cursed my setup, but if anyone else has issues getting their db to start, change from jc21/mariadb-aria:latest (which is in their own instructions) to jc21/mariadb-aria:10.4.15-innodb. They haven't updated the mariadb container in 2 years, so maybe it's just best if you go the sqllite route.

  • @mf1315
    @mf1315 3 года назад

    Great video! Def need to slow down though! .75x speed is perfect

  • @jared4670
    @jared4670 2 года назад

    Well this looks great. I have been using an old version of ajenti with an nginx plugin to handle proxies but it's so outdated. Gonna take a look at this

  • @prn-ice
    @prn-ice 2 года назад

    Soooo helpful.

  • @szymon7300
    @szymon7300 2 года назад

    You made my day :)

  • @ipstacks11
    @ipstacks11 2 года назад

    I watch these videos at .75 speed. The talking is a bit fast for me and the slight accent throws me a some, but at a little slower speed it's very watchable. If this wasn't technical content and he used more pictures to help show what is going on, I could probably watch it full speed. For me, anytime you are talking about a computer network, pictures help a lot. Flow diagrams are good for this.

  • @anupraj762
    @anupraj762 2 года назад

    Nice explanation

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

    Thank you very much, bonus was this easy LET'S cert implementation I was looking for, great explanation for layman like me…!

  • @hanslossman
    @hanslossman 3 года назад +1

    Great content! Thanks for aweome tutorials and solutions that just work great.

  • @livingmadscientistlife
    @livingmadscientistlife 3 года назад +2

    Keep coding and rocking in the free world, outstanding work mate! Have a good one and cheers!

  • @BMW-GS
    @BMW-GS Год назад +2

    Appreciate this is an older video now, but your videos are absolutely great to learn from, so thanks very much for all you do! However this one is stopped me in my tracks... at the point of logging into nginx (4m30s) I am constantly getting Bad Gateway? Any thoughts? Thanks again

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

      Did you get to the bottom of this? I have the same issue..

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

      @@skarbel One reddit command suggested editing the docker-compose file: Change "./data/mysql:/var/lib/mysql" to "./mysql:/var/lib/mysql". This did the trick for me

    • @Taylor-ys2vh
      @Taylor-ys2vh 11 месяцев назад

      I'm not sure if you figured out your issue, I had this also. In typical fashion, the endless rabbit holes eventually led me to a reddit article instructing to specify the version 2.9.22 for nginx instead of using the "latest" tag.
      So the top four lines of your docker-compose.yml should look like this:
      version: '3'
      services:
      app:
      image: 'jc21/nginx-proxy-manager:2.9.22'
      ports:
      Which, leads me to my next area and what I was searching an answer to and could not find. Regarding mariadb, you can leave that image line tagged with 'latest'
      db:
      image: 'jc21/mariadb-aria:latest'
      I was having permission issues. And some other access issues. Which were odd, as just before all this, I added my user to the docker group to avoid having folders built that are only root accessible, after created.
      I always have trouble with the shortcut ./ or ~/ in my volumes and thought something is amiss, as its locked exclusively to root and not my actual user account. Instead, for all my volumes, until I get better, I put the entire directory /home/username/docker/applicationname as an example.

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

      @@T1k33y thank you this helped me

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

      Anyone managed to solve this issue?

  • @hassanebendaoud4446
    @hassanebendaoud4446 2 года назад

    amazing video

  • @jeytis72
    @jeytis72 3 года назад

    Good. Waiting for wildcard certificates in Nginx. Thanks

  • @GENhodgy1971
    @GENhodgy1971 4 года назад

    Nice one mate!

  • @alifnaiech6972
    @alifnaiech6972 3 года назад

    Man, thank you so much. You have saved me!

  • @Mark-cf2er
    @Mark-cf2er 3 года назад +1

    In your example at the end, wasn't the scheme set as HTTP?

  • @mason8714
    @mason8714 4 года назад

    more brilliant content! thank you!

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

    having configured an ubuntu server just to run as a nginx proxy server this setup is so simple and thanks for all the great videos you put out. I have one problem how to secure nginx proxy manager with its own ssl. I have seen else where that you set up a host pointed at the portainer network ip that nmp runs on but that does not work. I should explain that i use cloudflare to point to my public ip on the local router and that port forwards to the ip where i run ubuntu with docker, portainer and npm. Any suggestions of where to look etc would be great, thanks.

  • @AKASH-sw9bs
    @AKASH-sw9bs 2 года назад

    Can you make a tutorial or share some resources that how to configure nginx docker-compose node.js app --scale?

  • @inaciosung
    @inaciosung 3 года назад +2

    Hello from Brazil! Great Content Christian. Thanks for sharing! I wonder if it is mandatory to do it in the "/opt/ directory". Does it make a difference? Cheers!

    • @christianlempa
      @christianlempa  3 года назад +2

      Hey thank you man :) No it's not really important, I usually just place my containers in this folder to easily find them and follow the linux filesystem BPs, but it doesn't really make a difference technically.

    • @inaciosung
      @inaciosung 3 года назад +1

      @@christianlempa Capito! Tks again!

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

    Hello Christian, Good Video. I am going to assume @ the 12:00 minute mark or close to that you mention custom locations and paths, That this would be a file path is this correct? Thank you sir.

  • @drbyte2009
    @drbyte2009 4 года назад

    Thanks for the great video !

  • @impact0r
    @impact0r 3 года назад +1

    Can you do a video on how to allow applications inside docker and behind reverse proxy the see client's originating IP? This is a very useful feature (geoip, stats, logs, area access control), but there is virtually no how-tos on it anywhere in the Internet.

    • @christianlempa
      @christianlempa  3 года назад +3

      Great idea, but I don't think it's worth a full video. But here is what you need to do :)
      Add: proxy_set_header X-Real-IP $remote_addr;
      And: proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
      In your NPM advanced Configuration Section of your proxy host. Should do the work! Let me know if it helps

  • @sandeeptembare
    @sandeeptembare 3 года назад

    Thank you so much, great content. ✌

  •  2 года назад

    GG...perfect alternative to kemp

  • @gianniskleanthous3268
    @gianniskleanthous3268 Год назад +7

    so after docker compose up -d i can reach the webui and when i try to login with the default creds i get bad gateway.. from what i've seen online its supposed to also have a config.json file which i dont, anyone with some clear instuctions on that? i have seen no such step in this video so im a bit confused

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

      hey, I know this is quite old, but did you end up finding a solution?

  • @siavashmohammady9095
    @siavashmohammady9095 3 года назад

    thank you a lot you saved me lot of time

  • @tonyg2973
    @tonyg2973 3 года назад

    you are awesome! thanks!

  • @RussianAgent66
    @RussianAgent66 2 года назад

    Amazing tutorial, only question I have is that when I restart my server nginx is wiped and I have to restart, how can it maintain my data on a restart without me having to set everything up again?

  • @mohamedharmouche9490
    @mohamedharmouche9490 2 года назад

    Very helpful. But SSL certs need to be renewed manually!

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

    blocking the "allow" to internal IP or network does not work if nginx is in the container - devs are aware of that but apparently there is no way to limit the address to be accessible from local network only

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

    Thanks for this great tutorial!
    Is there a way to test the deployment on localhost? I'm trying to run it locally, so that to validate how it works.
    Thanks again!

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

      Thanks for watching! :) Yes, you can test it locally, you might have to add an FQDN manually in the /etc/hosts file of your PC to test domains.

  • @Dahlah.FightMe
    @Dahlah.FightMe Год назад

    Nice :D

  • @henriksindrup2418
    @henriksindrup2418 3 года назад +1

    Hi Christian.
    Thanks for your super great tutorials
    I have two issues with NGINX PM .. I do not expect "user support" but if you have a quick response I would be very grateful.
    NXINX PM will not start automatically after boot of server .. I have added restart: always in the yaml file. The weird thing is that after I added restart: always, it's enough to run docker-compose ps ..
    The first time it writes "starting" .. The second time "started" ???
    What do I overlook :)
    The second and worst thing .. My Wordpress sites lose all formatting when I run through NGINX .. All content is "readable" but no styling at all .. Any ideas?
    Hope you have the energy to answer .. And finally. Continue with your great work ..
    Best Henrik

  • @su1ka
    @su1ka 3 года назад +1

    And what IP address you see in logs when you try to surf nextcloud instance? Your proxy gateway?

  • @sirandrex
    @sirandrex 3 года назад +1

    I already have it running on my setup. I used to have a manual installation of nginx + certbot, so this is more simple and quick . If I question you about this or traefik, what did you prefer?

    • @christianlempa
      @christianlempa  3 года назад +1

      I would say that nginx proxy manager is perfect for reverseproxies especially in smaller environments where you have a single docker node running. If you need load balancing features I would prefer traefik.

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

    Been running npm for 3 years now. What happens is, with my setup every 3 months is, I get a '502 Bad Gateway' on all new host I try to setup after that point. Have not figured out how to fix as of yet.

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

    Having some trouble here. When I click try going to my fqdn it makes it to my opnsense login page. It also doesn't show it is secured. I have nginx setup and a proxy host pointing to my "research nextcloud server". I did open http and https on my firewall. Do I have to open a lan port to get to my nextcloud? I'm so close! haha. Great videos though, you are so awesome for all us newbies! cheers

  • @sebasdt2103
    @sebasdt2103 3 года назад +1

    hey great video! shouldn't it be possible to replace the proxy thiny with a selfhosted VPN? like wireguard. or Is there a advantage of using the proxy thingy

    • @christianlempa
      @christianlempa  3 года назад +2

      Hmm a VPN is something different than a reverse proxy. VPN is just for internal usage and rev proxy to expose a service publicly

  • @Chrither
    @Chrither 2 года назад +3

    Hi Christan,
    I really like your channel and the awesome work you do.
    I came across a weird error message, when entering the NGINX reverse proxy manager for the first time; it simply won't let me login with the initial default credentials reporting "bad gateway". I check some github posts reporting the same issue, but none of their solutions helped. The only thing i changed from your template is to make the NGINX-RPM use the host network, which seems to run fine since I can call it using the host IP on port 81. Did you ever experience this?
    Thanks for the awesome work! Keep it up!!
    Cheers!

    • @christianlempa
      @christianlempa  2 года назад

      Thanks mate! This error is most likely due to database connectivity issues. Check your config and connection between npm and the db.

    • @bluesmilez4850
      @bluesmilez4850 2 года назад +2

      @@christianlempa how is this fixed? im still learning and am unsure how you mean to fix it

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

      @@christianlempa I know this is old but I just follwed it today and got the same error. No clue how to solve this. But nobody explains how this is all connected: docker, npm, nginx, mysql. That's why I get so frustrated with Linux. And why I never use docker. Trying to do something and then spend hours to figure out all the obstacles. You obviously tried to fix the issue in your docker compose by changing the db location to ./mysql:/var/lib/mysql But that was not the main issue as we can now see.

  • @jeffrisdon2803
    @jeffrisdon2803 Год назад +3

    Has anyone ever gotten a bad gateway error when attempting to login for the first time? thanks!

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

      That's usually when the connection with the database isn't working

    • @SirOmarTorres
      @SirOmarTorres 10 месяцев назад

      The yaml file is outdated. Use the one in the docs for NPM. Fixed this issue for me.

  • @odinalfather6494
    @odinalfather6494 2 года назад

    You can also put your twitch in the description :)

    • @christianlempa
      @christianlempa  2 года назад

      I removed it because I don't stream anymore, sry 😞

  • @eherlitz
    @eherlitz 2 года назад

    So NGINX is bundled, there is no way to remote control another NGINX instance from this software? Nice tutorial by the way

  • @tapasmallick
    @tapasmallick 2 года назад +1

    Hello Christian,
    Thanks a lot for such a wonderful tech video as always.
    Quick question:
    1. How to set proxy host feature for path based routing? e.g "HTTP:///" will forward to "nextcloud_container:80".
    2. How to import/upload and use self-sign certificate (private key & certificate) instead of "Letsencrypt"? Basically, we want to use "https" for our internal services and use our internal private CA infrastructure.

    • @buscseik
      @buscseik 2 года назад +1

      Hey, Did you manage the path based routering? I am looking for help for this too...

  • @maeglingondolinsbane3446
    @maeglingondolinsbane3446 4 года назад

    Thanks great video I've been looking for a tutorial like this for a long time.

  • @WokCorner
    @WokCorner 3 года назад +2

    Hello sir, thanks for this! May I ask?
    I have multiple virtual servers on LAN, each of them having a java app available at 33333 port. Can I use this docker nginx proxy manager to make all of them available on internet? Or do I have to redeploy each of them to run them in docker too? Thanks!

  • @Anthony-tj7jx
    @Anthony-tj7jx 3 года назад +1

    Hey there, thanks for the great tutorials! This one piece needs updated - in your docker-compose.yaml you've got image: 'jc21/mariadb-aria:10.4' but that needs to be updated to 'jc21/mariadb-aria:latest'

  • @floffy7440
    @floffy7440 3 года назад

    good videos buddy

  • @jonychawla6503
    @jonychawla6503 2 года назад

    Hi there. I appreciate your work. Can you provide some link or tutorial regarding setting up load balancing using nginx proxy manager.. Cheers!!

  • @Yalchin403
    @Yalchin403 8 месяцев назад

    Useful unless you want to server static files :D

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

    can you make a video of this same video but for windows users with server on hard drive?

  • @VithuRatnasingam
    @VithuRatnasingam 2 года назад

    Hi Christian! I have been watching your videos and this is amazzing what you are doing. I actually set this up in my home lab. everything is working fine except one thing. I am able to access my application from a device connected to different network(different ISP connection) but if i connect to the same network (ISP connection) and try to access, its loading forever. Appreciate your help

  • @yoshikidneo869
    @yoshikidneo869 3 года назад +1

    Amazing tutorial, I have it up and running. I am having an issue though with one thing since getting this up an running, I no longer can connect to my Pi VPN with Wireguard. I've tried setting up a proxy host to go to the Pi's address and the proper port, but no dice. Any iddeas how to fix this?

    • @christianlempa
      @christianlempa  3 года назад +1

      Thanks mate! Not sure why, maybe join our Discord and share some more details :)

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

    I struggled with nginx configuration for subdomain. My mentor said in long term, migrate to Nginx Proxy Manager. Opened this video, watched it till the end. Still have no idea WHY? What purpose it serves?

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

    What if my service is directly on host and not in a container? How do I connect it to that particular docker network?

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

    @christianlempa woher kommt dein Zertifikat das du auswählst bei Minute 11:05? Wie bekommst du das dort hinein und wo muss das hinterlegt werden?

  • @netfenceutbildning
    @netfenceutbildning 3 года назад +1

    Is this tutorial assuming nginx proxyserver to be installed first?

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

    hey awesome video, I have a qeustion though? say I have a docker db instance of poastgress that I want to connect my web app to and I want to host both of them on my personal server in thier own docker contianers. Can I use reverse proxy to host and instance of a database? Also I am mnot worried about secuirty it is just for testing

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

    Hello, i have questions on 9:21
    I dont understand this point u was install nextcloud and u used it to connect to nginx or by this command u installed nextcloud in nginx?
    - cuz i tested it on my local environment on webapp but it didnt work from outside network its worked on local only after i add in my local dns
    - if i useing custom port like 8888 i added to nginx
    And its from from local by ip address or domain name of web app and enter
    But from outside i must add port after domain name

  • @Gh0stRec0n313
    @Gh0stRec0n313 3 года назад

    any chance you can show a video on how to use wildcards or dns challenge with a cloudflare domain?

    • @christianlempa
      @christianlempa  3 года назад

      I'm currently preparing a video for that ;) It will take a few weeks until it comes out, but it's happening... finally :D

    • @Gh0stRec0n313
      @Gh0stRec0n313 3 года назад

      @@christianlempa Nice! just a quick question will this eliminate the need for port forwarding 80 and 443? My isp blocks those ports. will i still need to port forward with dns challenge? is there any other way you recommend that doesnt have the need for port forwarding?

  • @anirnet
    @anirnet 2 года назад

    Thank you chris!
    I'm completely new to linux and i'm trying to setup my vps using docker so I can migrate my wordpress site from a hosting provider...
    I have some questionsns as I'm really confused regarding performance and security.
    do we need to have a webserver(nginx) when there is NPM running? because I spent some time learning to setup nginx as a webserver so I can take advantage of server level cachine with fastcgi... and now i just discovered NPM. But when people talk about NPM, they don't mention anything about the webserver or (performance in general) ...
    so from my understanding we can not run both NPM and Nginx webserver at the sametime, right?
    if that's the case then what are the alternatives?
    i'm just seeking some guidance to know what is necessary and what is not.
    my conifguration is as follows:
    - oracle cloud free tier VM running an arm based ubuntu 22.04
    - docker + portainer installed & running
    that's all for now ... once i have a clear image on how to implemet all those elements i'll go ahead and install Wordpress, FTP, Redis & probably some firewall as well if it's needed?

  • @Grid21
    @Grid21 3 дня назад

    How do I local host my DNS records so I don't have to use an outside service like what you did in the video?

    • @christianlempa
      @christianlempa  3 дня назад

      I've done a video on bind9 DNS server, or you could use something like Pihole f.e.

    • @Grid21
      @Grid21 2 дня назад

      @@christianlempa Could I use something like AdGuard Home as a DNS Server? Or do I need something that has more DNS features built in?

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

    On 2:54 you said its debatable if 81 is the best Port. What is the reasoning behind that? And should one change it? (noob here)

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

      It's not a technical reason, but It's a port within the range 0-1024 which was defined by the IANA; it's not an important port that is used by anything else, however it's not a good practice to use it, so a high port that is not used by another service might be better.
      However, in a Homelab, don't worry, you can use port 81 :)