Explained: 7 Settings to Secure Nginx Web Server | Securing Nginx

Поделиться
HTML-код
  • Опубликовано: 9 июл 2024
  • In this video, you will learn how to secure Nginx by modifying the Nginx configuration file with these seven settings.
    Join this channel to get access to perks: www.youtube.com/@lazysysad/join
    server_tokens off;
    more_clear_headers Server;
    add_header Content-Security-Policy "default-src 'self'" always;
    add_header X-Frame-Options "deny" always;
    add_header X-Content-Type-Options "nosniff" always;
    proxy_hide_header X-Runtime;
    proxy_hide_header X-powered-by;
    I'll also demonstrate what each option does.
    PLEASE SUBSCRIBE :)
    PLEASE HIT LIKE IF IT HELPED :)
    GIVE SUPPORT - / lazysysad
    BUY ME A COFFEE - www.buymeacoffee.com/lazysysad
    PAYPAL - paypal.me/lazysysad
    LINKS:
    How to Install Nginx Web Server - • How to Install Nginx W...
    Chapters:
    00:00 Intro
    00:14 server_tokens off;
    01:53 more_clear_headers Server;
    03:22 add_header Content-Security-Policy "default-src 'self'" always;
    05:14 add_header X-Frame-Options "deny" always;
    06:37 add_header X-Content-Type-Options "nosniff" always;
    09:26 proxy_hide_header X-Runtime;
    10:55 proxy_hide_header X-powered-by;
    11:50 Outro
    Drop me your feedback and comments below.
    That's all for now.
    If this video helped you in any way, please like share and subscribe!
    Thank you!!!

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

  • @Hiturion
    @Hiturion Месяц назад +1

    Hi. Great video thanks. Would also add an 8th one by making sure the Strict-Transport-Security is enforced ;).

  • @dancewitharun
    @dancewitharun 3 месяца назад +1

    Good content bro in a single video. Keep uploading like this. Thanks

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

      Glad you liked it and thanks.

  • @samirowan9590
    @samirowan9590 3 месяца назад +1

    That was Spectacular !!!
    Thanks

  • @jahangirhossain4343
    @jahangirhossain4343 7 месяцев назад +2

    Excellent content brother.

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

    great content bro. now i can just copy your video url and share it to my developer instead explain it to them everytime

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

      Please do! I appreciate that. I'm glad you liked the video.

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

    How to secure Cookies for sites on a Nginx server? There was a Nginx module, but that one is deprecated.

  • @LryuzakiLN
    @LryuzakiLN 9 месяцев назад +1

    Hi, could you please do a video on caching images on nginx, like for example, all my images are in
    /var/something directory, how do I cache these images? And serve from nginx
    Thanks if you can do this!

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

      Great suggestion!

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

    how to hide Server name, andDate?

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

    I want to secure nginx web server on fedora os , this video is not for me

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

      it doesn't matter what OS you're using 👍

  • @AlejandroLopez-nf5qe
    @AlejandroLopez-nf5qe Месяц назад

    add_header Content-Security-Policy "default-src 'self'" always; broke my website. It looks as if the CSS is gone.