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

Reverse proxy combined with bogus URLS in forum causes bad redirections

    XMLWordPrintable

    Details

      Description

      Hi,

      We need the new recordRTC feature in our prod environment. Thing is it is broken when used with a reverse proxy.

      Step to reproduce:

      • Ubuntu 16.04 server
      • NGINX as a reverse proxy
      • Install a moodle 3.5 instance with apache2 + mysql
      • Serve moodle through nginx proxy (set the config accordingly)
      • Create or use any course
      • Create a forum activity
      • Create a forum thread
      • Record a video/audio file with the recordRTC feature
      • Submit the thread with the recorded file
      • Error in redirection

       
      You can see the error on the screenshot attached below.
       
      There is no error log on apache2 or nginx side.
      Ready to collaborate with the team to try to fix this issue.

        Attachments

          Activity

            People

            Assignee:
            markn Mark Nelson
            Reporter:
            focom focom
            Peer reviewer:
            Simey Lameze
            Integrator:
            Eloy Lafuente (stronk7)
            Tester:
            Janelle Barcega
            Participants:
            Component watchers:
            Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Matteo Scaramuccia, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              9/Jul/18

                Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 11 minutes
                11m