I am running a Nginx server and tried to hide the 'Set-Cookie' parameter from the HTTP header output when using curl -I hostname.com
- I applied the Nginx configuration using:
proxy_hide_header Set-Cookie;
Using this worked as intended - until I noticed that any request to login to the control panel simply resulted in reloading the admin login page.
Is there a way to change or hide this that still allows users to login to the control panel?