Skip to content

Instantly share code, notes, and snippets.

@hammertoe
Created June 18, 2020 21:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hammertoe/a2af750262b7c210f536a0bc9481fc23 to your computer and use it in GitHub Desktop.
Save hammertoe/a2af750262b7c210f536a0bc9481fc23 to your computer and use it in GitHub Desktop.
<VirtualHost [2001:41c8:11a:5::1]:443 46.43.0.47:443>
ServerName www.quernus.co.uk
ServerAlias quernus.co.uk
DocumentRoot "/var/www/htdocs/www.quernus.co.uk/"
Header always set Strict-Transport-Security "max-age=63072000; preload"
SSLEngine on
SSLCipherSuite EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH
SSLProtocol All -SSLv2 -SSLv3
SSLHonorCipherOrder On
SSLSessionTickets Off
SSLCertificateFile "/etc/letsencrypt/live/www.quernus.co.uk/fullchain.pem"
SSLCertificateKeyFile "/etc/letsencrypt/live/www.quernus.co.uk/privkey.pem"
ErrorDocument 404 /404.html
# PayID
RewriteEngine On
RewriteCond "%{HTTP_ACCEPT}" "application/xrpl-mainnet\+json"
RewriteRule ^(.+) /.pay/$1.json [L]
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment