Hi,
I'm using Nginx as proxy for Apache but I have some questions about it's configuration and how it's work.
a) I've implemented ssl.conf with new command like :
- ssl_session_timeout 30m;
- ssl_session_cache shared:SSL:32m;
I've read that if Nginx is using should be a good thing to set ssl_session_tickets to off. Now, if I use Nginx as proxy, should I also configure it for session tickes off ?
b) I have add other command as header for Apache like :
- add_header X-Frame-Options SAMEORIGIN;
- add_header X-XSS-Protection "1; mode=block";
- add_header Strict-Transport-Security "max-age=15768000" always;
but it seems not to work. If I test my domain on ssllabs.com I cannot see that HSTS is enabled. In fact if I set these headers on Apache and nginx setting under the specific domain, on ssllabs.com result that HTTS is enable and working.
Why ?
Thank you
I'm using Nginx as proxy for Apache but I have some questions about it's configuration and how it's work.
a) I've implemented ssl.conf with new command like :
- ssl_session_timeout 30m;
- ssl_session_cache shared:SSL:32m;
I've read that if Nginx is using should be a good thing to set ssl_session_tickets to off. Now, if I use Nginx as proxy, should I also configure it for session tickes off ?
b) I have add other command as header for Apache like :
- add_header X-Frame-Options SAMEORIGIN;
- add_header X-XSS-Protection "1; mode=block";
- add_header Strict-Transport-Security "max-age=15768000" always;
but it seems not to work. If I test my domain on ssllabs.com I cannot see that HSTS is enabled. In fact if I set these headers on Apache and nginx setting under the specific domain, on ssllabs.com result that HTTS is enable and working.
Why ?
Thank you