Skip to content

Instantly share code, notes, and snippets.

@JBlond
Last active October 18, 2015 12:41
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save JBlond/550b1e5a9275eefe95ca to your computer and use it in GitHub Desktop.
Save JBlond/550b1e5a9275eefe95ca to your computer and use it in GitHub Desktop.
jboss config
<VirtualHost *:443>
DocumentRoot C:/www/
ServerName example.com
ServerAlias www.example.com
<Directory C:/www/>
Options Indexes FollowSymlinks Multiviews ExecCGI
AllowOverride None
<RequireAll>
Require all granted
</RequireAll>
</Directory>
<Location />
ProxyPass http://JBoss:8080/
ProxyPassReverse http://JBoss:8080/
</Location>
ErrorLog C:/apache24/logs/example.error.log
CustomLog C:/apache24/logs/ssl.example.access.log combined
<IfModule mod_headers.c>
Header always set Strict-Transport-Security "max-age=15553000;"
</IfModule>
SSLUseStapling on
SSLSessionCache shmcb:/apache24/logs/ssl_gcache_data(512000)
SSLStaplingCache shmcb:/apache24/logs/ssl_stapling_data(512000)
SSLOptions +StrictRequire +StdEnvVars -ExportCertData
SSLProtocol -all +TLSv1 +TLSv1.1 +TLSv1.2
SSLCompression Off
SSLHonorCipherOrder On
SSLCipherSuite ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES256-SHA:DHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-SHA256:DHE-RSA-AES256-SHA:!LOW:!MD5:!aNULL:!eNULL:!3DES:!EXP:!PSK:!SRP:!DSS
SSLEngine on
SSLCertificateFile C:/apache24/conf/certs/example.com.crt
SSLCertificateKeyFile C:/apache24/conf/certs/example.com5.key
SSLCertificateChainFile C:/apache24/conf/certs/sub.class1.server.ca.pem
SSLCACertificateFile C:/apache24/conf/certs/ca.pem
SSLCARevocationFile C:/apache24/conf/certs/sub.class1.client.sha2.ca.pem
<Files ~"\.(cgi|shtml|phtml|php|htm|html?)$>
SSLOptions +StdEnvVars
</Files>
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment