Skip to content

Instantly share code, notes, and snippets.

@jaywilliams
Last active June 7, 2018 16:09
Show Gist options
  • Select an option

  • Save jaywilliams/6caae77d65ca69776a47 to your computer and use it in GitHub Desktop.

Select an option

Save jaywilliams/6caae77d65ca69776a47 to your computer and use it in GitHub Desktop.

Revisions

  1. jaywilliams revised this gist Dec 16, 2015. 1 changed file with 4 additions and 1 deletion.
    5 changes: 4 additions & 1 deletion .htaccess
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,6 @@
    # Add this to your the Magento .htaccess file located in your docroot

    ############################################
    ## Nginx proxy HTTPS Fix for Magento
    SetEnvIf X-Forwarded-Proto https HTTPS=on
    ## Source: https://www.sonassi.com/blog/magento-kb/magento-https-redirect-loop-2
    SetEnvIf X-Forwarded-Proto https HTTPS=on
  2. jaywilliams created this gist Dec 16, 2015.
    3 changes: 3 additions & 0 deletions .htaccess
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    ############################################
    ## Nginx proxy HTTPS Fix for Magento
    SetEnvIf X-Forwarded-Proto https HTTPS=on