X-XSS Protection in VestaCP 3
Linux,  VestaCP

X-XSS Protection in VestaCP

Edit /etc/nginx/conf.d/nginx.conf

Add

add_header X-Frame-Options SAMEORIGIN;
add_header X-Content-Type-Options nosniff;
add_header X-XSS-Protection "1; mode=block";

 

Save and reload nginx

service nginx restart

 

Check Nginx header

curl -I domain.com

 

X-XSS Protection in VestaCP 4

 

Avatar of Bình Minh

Tui là Nguyễn Xuân Bình Minh

One Comment

Để lại một bình luận

Email của bạn sẽ không được hiển thị công khai. Các trường bắt buộc được đánh dấu *

This site uses Akismet to reduce spam. Learn how your comment data is processed.