Nginx: add ssl cache
This commit is contained in:
parent
dbe38bda31
commit
0b0997c352
1 changed files with 3 additions and 0 deletions
|
@ -33,6 +33,9 @@ server {
|
||||||
|
|
||||||
set_real_ip_from 172.16.0.0/12;
|
set_real_ip_from 172.16.0.0/12;
|
||||||
|
|
||||||
|
ssl_session_timeout 1d;
|
||||||
|
ssl_session_cache shared:SSL:50m;
|
||||||
|
|
||||||
add_header Strict-Transport-Security $hsts_header;
|
add_header Strict-Transport-Security $hsts_header;
|
||||||
add_header X-Frame-Options "DENY";
|
add_header X-Frame-Options "DENY";
|
||||||
add_header Referrer-Policy "no-referrer";
|
add_header Referrer-Policy "no-referrer";
|
||||||
|
|
Loading…
Add table
Reference in a new issue