Skip to content

Instantly share code, notes, and snippets.

@thiagosf
Created February 1, 2019 12:23
Show Gist options
  • Save thiagosf/1b7220f5b8c1f47c57829d0cd1139360 to your computer and use it in GitHub Desktop.
Save thiagosf/1b7220f5b8c1f47c57829d0cd1139360 to your computer and use it in GitHub Desktop.
Avoid infinite loop rails https on apache
<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