Created
February 1, 2019 12:23
-
-
Save thiagosf/1b7220f5b8c1f47c57829d0cd1139360 to your computer and use it in GitHub Desktop.
Avoid infinite loop rails https on apache
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<VirtualHost *:443> | |
# ... | |
RequestHeader set X_FORWARDED_PROTO 'https' | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment