Added documented options to .htaccess to support detecting forwarded HTTPS (#1063)

support.
This commit is contained in:
Aaron Dalton 2016-09-23 14:36:40 -06:00 committed by Andy Miller
parent 18463b958f
commit 24ea511ad1

View File

@ -13,6 +13,16 @@ RewriteEngine On
## End - RewriteBase
## Begin - X-Forwarded-Proto
# In some hosted or load balanced environments, SSL negotiation happens upstream.
# In order for Grav to recognize the connection as secure, you need to uncomment
# the following lines.
#
# RewriteCond %{HTTP:X-Forwarded-Proto} https
# RewriteRule .* - [E=HTTPS:on]
#
## End - X-Forwarded-Proto
## Begin - Exploits
# If you experience problems on your site block out the operations listed below
# This attempts to block the most common type of exploit `attempts` to Grav