# vim: set ft=apache.jinja : ServerName sonarr.pyrocufflink.blue SSLCertificateFile /etc/pki/tls/certs/localhost.crt SSLCertificateKeyFile /etc/pki/tls/private/localhost.key SSLCertificateChainFile /etc/pki/tls/certs/localhost.crt ProxyPreserveHost On ProxyRequests Off RewriteEngine On RewriteCond %{HTTP:Upgrade} =websocket [NC] RewriteRule /(.*) ws://localhost:8989/$1 [P,L] RewriteRule /(.*) http://localhost:8989/$1 [P,L] ProxyPassReverse / http://localhost:8989/ Header always set \ Strict-Transport-Security "max-age=63072000; includeSubDomains"