Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-26211

add detection of missing $_SERVER['HTTPS'] in nginx and other servers

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.0.1
    • Fix Version/s: 2.0.2
    • Component/s: General
    • Labels:
      None
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      Dongsheng Cai added a comment - 31/Jan/11 4:34 PM
      Another nginx tip of running moodle https: Moodle complains sslonlyaccess error, it is actually because the $_SERVER['HTTPS'] is not set by nginx by default, have to add "fastcgi_param HTTPS on;" to "server{}" section.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              skodak Petr Skoda
              Reporter:
              skodak Petr Skoda
              Tester:
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                21/Feb/11