Report this

What is the reason for this report?

How to set up nginx cookie free headers

Posted on July 27, 2015

Would this piece of code in Nginx configuration file remove cookie headers?

    server {

  fastcgi_hide_header Set-Cookie;

  }

I am asking this is because I am getting a F from Yslow (Gtmetrix testing). It says that my website’s many js. css, jpg files are NOT cookie-free.

My server is setup with EasyEngine, Nginx.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.