blob: 0e89afe623a5d286d56214f933992d1729bcac44 (
plain)
1
2
3
4
5
|
# Rewrite all proxied HTTP requests to HTTPS.
# Only include if FORCE_SSL: true is set in general.yml
# Expected to be found at /etc/apache2/vhost.d/alaveteli
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteRule /(.*) https://www.example.com/$1 [L,R=permanent]
|