Client IP in NGINX reverse proxy

Sdílet
Vložit
  • čas přidán 24. 08. 2024
  • Learn how to use Host, X-Forwarded-For and X-Real-IP headers in a smart way to pass client information through NGINX proxy.
    ------------------
    Deploying Node playlist:
    • Deploying Node

Komentáře • 21

  • @helloworld-ot8xn
    @helloworld-ot8xn Před 7 lety +6

    Vote for every video, nice work

  • @istrendready9486
    @istrendready9486 Před 6 lety +1

    Your videos are clean and concise and have been a tremendous help. Thank you.
    If I would like to add servers running at my home to my DigitalOcean Nginx should I use a VPN? How difficult would this be?

  • @shaq142
    @shaq142 Před 7 lety +1

    excellent videos!

  • @jack2ky
    @jack2ky Před 3 lety

    proxy_set_header X-Forwarded-Proto https; is important to set cookies on live production domains. I spent 5 hours trying to dig in my code to see why the cookie wasn't set. I didn't want to go to nginx because I wasn't used to it. it. But it was the last thing I did to get it to work. HAPPY.

  • @olegshalaev4103
    @olegshalaev4103 Před 5 lety +1

    Great video, thanks! Note, however that in my case the method works only when I put "proxy_set_header" directives inside "location" blocks.

    • @maysontorin559
      @maysontorin559 Před 3 lety

      You probably dont give a shit but does anybody know of a trick to log back into an instagram account..?
      I stupidly lost the login password. I would love any help you can offer me.

    • @hamzagrant4724
      @hamzagrant4724 Před 3 lety

      @Mayson Torin instablaster :)

    • @maysontorin559
      @maysontorin559 Před 3 lety

      @Hamza Grant thanks so much for your reply. I found the site thru google and im trying it out now.
      Takes a while so I will reply here later with my results.

    • @maysontorin559
      @maysontorin559 Před 3 lety

      @Hamza Grant It worked and I now got access to my account again. I'm so happy:D
      Thank you so much, you saved my ass :D

    • @hamzagrant4724
      @hamzagrant4724 Před 3 lety

      @Mayson Torin Happy to help =)

  • @LuisCorrea9614
    @LuisCorrea9614 Před 2 lety

    You say this is not a secure way of determining the origin IP as it can be spoofed, what would be a better practice for this?

  • @yassineaitbrahim9496
    @yassineaitbrahim9496 Před 4 lety +1

    thank you👍

  • @amirrezaghafaei7997
    @amirrezaghafaei7997 Před 5 lety +1

    Hi it is not working for php websocket All ip returned 127.0.0.1
    ooopppppppppsssss :|

  • @khalidelgazzar
    @khalidelgazzar Před rokem

    Thanks

  • @tedchirvasiu
    @tedchirvasiu Před 5 lety +1

    2:19 dat hand

  • @Trinita1970
    @Trinita1970 Před rokem

    merci chef

  • @chandandas1202
    @chandandas1202 Před 2 lety

    Thanks. how to get source port.

  • @YuriLaguta
    @YuriLaguta Před 6 lety

    It would be great if configuration was under VCS

  • @mateuszsowa9668
    @mateuszsowa9668 Před 4 lety

    Great tutorial, thank you! Could you publish this EasyIO interface for debugging? Or recommend anything else?

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

    too much speed , explain a little slooowly