File tree 3 files changed +5
-3
lines changed
3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 1
1
# Nginx-Craft Changelog
2
2
3
- ## 1.0.32 - UNRELEASED
3
+ ## 1.0.32 - 2021.02.08
4
4
### Changed
5
5
* Changed the include path from ` /etc/nginx ` to ` /home/forge ` for the Forge config
6
+ * Removed repeated ` server_tokens ` within Primary block
7
+ * Changes max-age for HSTS to be one year for preloading
6
8
7
9
## 1.0.31 - 2020.11.19
8
10
### Changed
Original file line number Diff line number Diff line change 1
1
# Security headers via https://securityheaders.io
2
- add_header Strict-Transport-Security "max-age=15768000; includeSubDomains; preload" always;
2
+ # Submit your domain at https://hstspreload.org to be included in Chrome as HTTPS only.
3
+ add_header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload" always;
3
4
add_header X-Frame-Options "SAMEORIGIN" always;
4
5
add_header X-XSS-Protection "1; mode=block" always;
5
6
add_header X-Content-Type-Options "nosniff" always;
Original file line number Diff line number Diff line change @@ -41,7 +41,6 @@ server {
41
41
42
42
# General virtual host settings
43
43
server_name SOMEDOMAIN.com;
44
- server_tokens off;
45
44
root "/var/www/SOMEDOMAIN/web";
46
45
index index.html index.htm index.php;
47
46
charset utf-8;
You can’t perform that action at this time.
0 commit comments