-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
19 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# config to enable HSTS(HTTP Strict Transport Security) https://developer.mozilla.org/en-US/docs/Security/HTTP_Strict_Transport_Security | ||
# to avoid ssl stripping https://en.wikipedia.org/wiki/SSL_stripping#SSL_stripping | ||
add_header Strict-Transport-Security "max-age=31536000; includeSubdomains; preload" always; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
# config to enable HSTS(HTTP Strict Transport Security) https://developer.mozilla.org/en-US/docs/Security/HTTP_Strict_Transport_Security | ||
# to avoid ssl stripping https://en.wikipedia.org/wiki/SSL_stripping#SSL_stripping | ||
add_header Strict-Transport-Security "max-age=31536000; preload"; | ||
|
||
# For wilcard certs you can use next rule | ||
# add_header Strict-Transport-Security "max-age=31536000; includeSubdomains; preload"; | ||
add_header Strict-Transport-Security "max-age=31536000; preload" always; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -75,8 +75,9 @@ Source20: pagespeed.conf | |
Source21: pagespeed-enabled.conf | ||
Source22: pagespeed-access.pswd | ||
Source23: ssl.conf | ||
Source24: common.conf | ||
Source25: bots.conf | ||
Source24: ssl-wildcard.conf | ||
Source25: common.conf | ||
Source26: bots.conf | ||
|
||
Source30: %{name}-index.html | ||
|
||
|
@@ -327,6 +328,8 @@ install -pm 644 %{SOURCE24} \ | |
%{buildroot}%{_sysconfdir}/%{name}/xtra/ | ||
install -pm 644 %{SOURCE25} \ | ||
%{buildroot}%{_sysconfdir}/%{name}/xtra/ | ||
install -pm 644 %{SOURCE26} \ | ||
%{buildroot}%{_sysconfdir}/%{name}/xtra/ | ||
|
||
install -dm 755 %{buildroot}%{_sysconfdir}/sysconfig | ||
|
||
|
@@ -421,6 +424,7 @@ fi | |
%config(noreplace) %{_sysconfdir}/%{name}/xtra/pagespeed-enabled.conf | ||
%config %{_sysconfdir}/%{name}/xtra/common.conf | ||
%config %{_sysconfdir}/%{name}/xtra/ssl.conf | ||
%config %{_sysconfdir}/%{name}/xtra/ssl-wildcard.conf | ||
%config %{_sysconfdir}/%{name}/xtra/bots.conf | ||
|
||
%config %{_sysconfdir}/%{name}/mime.types | ||
|
@@ -460,6 +464,9 @@ fi | |
############################################################################### | ||
|
||
%changelog | ||
* Tue Aug 09 2016 Gleb Goncharov <[email protected]> - 1.11.3-0 | ||
- Nginx updated to 1.11.3 | ||
|
||
* Wed Jul 13 2016 Anton Novojilov <[email protected]> - 1.11.2-0 | ||
- Nginx updated to 1.11.2 | ||
- PCRE updated to 8.39 | ||
|