Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
Apache 2.2.15 - OpenSSL 1.1.0
(view source)
Revision as of 11:20, 12 September 2019
3 bytes removed
,
11:20, 12 September 2019
no edit summary
Line 7:
Line 7:
RewriteRule ^(.*)$ https://%{HTTP_HOST}$1 [R=301,L]
RewriteRule ^(.*)$ https://%{HTTP_HOST}$1 [R=301,L]
</VirtualHost>
</VirtualHost>
−
<VirtualHost *:443>
<VirtualHost *:443>
SSLEngine on
SSLEngine on
Line 13:
Line 12:
SSLCertificateChainFile /path/to/intermediate_certificate
SSLCertificateChainFile /path/to/intermediate_certificate
SSLCertificateKeyFile /path/to/private_key
SSLCertificateKeyFile /path/to/private_key
−
# HTTP Strict Transport Security (mod_headers is required) (63072000 seconds)
# HTTP Strict Transport Security (mod_headers is required) (63072000 seconds)
Header always set Strict-Transport-Security "max-age=63072000"
Header always set Strict-Transport-Security "max-age=63072000"
</VirtualHost>
</VirtualHost>
−
# intermediate configuration, tweak to your needs
# intermediate configuration, tweak to your needs
SSLProtocol all -SSLv2 -SSLv3 -TLSv1 -TLSv1.1 –TLSv1.2
SSLProtocol all -SSLv2 -SSLv3 -TLSv1 -TLSv1.1 –TLSv1.2
Greggory.elton
802
edits
Navigation menu
GC
wiki
Personal tools
English
Log in
Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
More
Search
Navigation
Main Page
Browse categories
Random page
Help
Actions/Tools
Special pages
Tools
Printable version
GCaccount
GCcollab
GCmessage