Configure NGINX as a Reverse Proxy

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

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

  • @yahya1badawi1
    @yahya1badawi1 2 года назад +29

    simple and direct to the point tutorial :))

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

      Seriously? I got more confused now and will need to basically look for a better explanation, I appreciate the work of the engineer here, however, there is a saying, when you understand something really well you can explain it to a 5-year-old and it will be understood.

    • @infertilepiggy5667
      @infertilepiggy5667 2 месяца назад

      @@jairunet agreed

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

    Fantastic video it helped me to understand how to configure, in a right way, this technology. Thank you.

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

    /etc/nginx/conf.d is empty.

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

    I have a ca provideing certificates for all my servers. How can I configure nginx to use the ca.crt file to check if it is one of my own servers requesting and just let this requests through?

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

    Can this be setup on Qnap for plex and emby apps ?

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

    is there a simple line we can add to the config where we set up the custom_log to include datetime? I am struggling to find something suitable on google

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

      If you're on Linux you can use logrotate It's a built in utility for managing log files.
      Create a custom logroate job for nginx
      $ vi /etc/logrotate.d/nginx
      /var/log/nginx/*.log {
      create 600 nginx nginx
      daily
      delay-compress
      date %mm-dd-yyy
      rotate 4
      post_rotate >2 /dev/null
      }
      The file would look something like that. You can look the documentation or Linux manual pages for logrotate.
      Good luck on your endeavors!

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

    Getting cors policy blocked I don't know how to write up the sites available file for my stack😣

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

    Can the reverse proxy and load balancer be on the same instance of Nginx, or should they be on separate instances?

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

      Absolutely. That's the idea. However, for enterprise architectures, I'd defer to the security teams for guidance.

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

    After configuring NGINX to an IIS web server, is there any additional setup needed at Windows Server?

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

    how about if I have two apps running in my instance say in port 4000 and 9000 then I want to serve the two apps using the same IP but different paths in the request

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

    Hello, i have this error on the firefox page : 502 gateway
    I have an nginx proxy reverse with an iis. How to resolve this error ? Thanks.

  • @stevecassidy
    @stevecassidy 2 года назад +8

    Really useful video - thanks very much. could you do another showing how you can proxy based on the domain/subdomain name please?

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

    I am using Nginx as a revere proxy and I have a requirement to Intercept the application server response ( encrypt it by calling another service before returning it to the client ) could you please suggest a solution.

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

    please tell us how you installed nginx on vm? thanks

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

    *Very nice video and explanation, thanks a lot and greetings from Argentina.*

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

    In my directory, I can't find default.conf, what can I do? I NEED SOME HELPS.

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

      default.conf is located in /conf.d/default.conf when you install NGINX OSS or Plus.
      Here’s a link to installing NGINX OSS - docs.nginx.com/nginx/admin-guide/installing-nginx/installing-nginx-open-source/

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

    What can you do to display static elements that have a relative path?
    Doesn't seem to work

  • @74giannico
    @74giannico 2 года назад +2

    thanks for the video. I wanted to ask if there is a configuration that works with exchange. I have tried various configurations but I have had problems especially with the OUTLOOK and mobile clients

  • @lahwfsk167
    @lahwfsk167 3 года назад +5

    very nice and clear tutorial, thx so much

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

    Is it possible to use nginx reverse proxy as tcp?

  • @ghauri001
    @ghauri001 3 года назад +7

    very informative video, thank you

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

    Is it beneficial to configure nginx as a web server and a reverse proxy on the same VM?

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

    Hi! Correct me if im wrong, I am using Pihole, a DNS Resolver Server + Sinkhole + Firewall.
    To map a custom URL (I.e. domain:port/subdomain) to a custom Domain Name, I'll need to use reverse proxy, am i right?

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

      Yes this is the whole point of a reverse proxy to map a subdomain to the same public ip but different port/ internal ip

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

    any way to do Reverse Proxy for tcp stream?

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

      Absolutely - You can proxy TCP connections using proxy_pass directive. It is performed via the Stream Module. Links below give you more details.
      docs.nginx.com/nginx/admin-guide/load-balancer/tcp-udp-load-balancer/
      docs.nginx.com/nginx/admin-guide/security-controls/securing-tcp-traffic-upstream/

  • @DentargPL
    @DentargPL 3 года назад +10

    ctrl+L is faster than clear ;), thx for the tutorial

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

      Or alias "c" to "clear" in your terminal rc file. :)

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

    Excellent Demo

  • @deepaksingh-qd7xm
    @deepaksingh-qd7xm 7 месяцев назад

    can anyone tell me i am passing the headers from frontend but it is lost at nginx gateway i want to pass it back to backend anyone who knows how to do it?????????????????????????????????????????????

  • @CheapDeath96
    @CheapDeath96 18 дней назад

    why green font in terminal mr hacker, 1080p + compression = bad hacking mojo

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

    Hi sir,
    Good custom logs format.
    TY.

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

    Where is the git hub?

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

      Here's the repo: github.com/jay-nginx/reverse-proxy.

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

      @@nginx_official thank you.. great video btw!!

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

    Thanks for the video

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

    Is Nginx free version support tcp and udp reverse proxy?

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

      Yes - NGINX OSS (free version) supports both TCP and UDP proxying/load-balancing. Both TCP/UDP proxying/load-balancing is performed by the Stream Module. More details on the links below:
      docs.nginx.com/nginx/admin-guide/load-balancer/tcp-udp-load-balancer/

    • @Jamie-kf2vf
      @Jamie-kf2vf 3 года назад

      Well this is awesome. My knowledge on networks, reverse proxies etc is utterly woeful but this helps me understand the fundamentals of Nginx. Thank you!

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

    I believe you can but tNice tutorials will depend what version you have.

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

    Good technical level on the presentation and informative

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

    Thanks a lot!

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

    Nicely explained; I wish I had come across this before wasting a lot of time through trial and error on Apache. Thank you!

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

    great content thanks!

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

    it was useful, thanks a lot

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

    it becomes pain in the as when it comes to configuring https reverse proxy

  • @Aaron-n2x2v
    @Aaron-n2x2v Год назад +1

    default nginx behaviour is bloody naughty in my experience lol

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

    Awesome video +++++++++++++ 🙂

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

    Thank you so much for tNice tutorials

  • @DoraSpring-m9o
    @DoraSpring-m9o 2 месяца назад

    Wilson Cynthia Garcia David Lopez Frank

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

    And don't know if I should use conf,🙄🙄 sites available 😠

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

    DONT BE ALARMED!
    You have a mobile cranial impression. Please seek medical attention or perhaps check your camera filter settings :)

  • @Micha-cc8hf
    @Micha-cc8hf 4 месяца назад

    shity youtube doesn't accept my comment where I asked about http2 to http reverse proxy

  • @LatashiaDockett
    @LatashiaDockett 2 месяца назад

    132 Jeffrey Shoal

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

    proxy_add_x_forwarded_for gives error for me