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

preview_player
Показать описание
In this video, you will learn how to secure Nginx by modifying the Nginx configuration file with these seven settings.

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 :)

LINKS:

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!!!
Рекомендации по теме
Комментарии
Автор

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

Hiturion
Автор

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

dancewitharun
Автор

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

sempaidesu
Автор

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

johanstam
Автор

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!

LryuzakiLN
Автор

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

isbelmont
Автор

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

AlejandroLopez-nfqe