Unverified Commit 32fe9c7f authored by Maarten de Waard's avatar Maarten de Waard 🤘🏻
Browse files

adjust README to work with Tutor

parent f6ea1255
Pipeline #11697 passed with stages
in 2 minutes and 48 seconds
......@@ -207,12 +207,14 @@ Setting up a proxy for problems with a submit button
The Submit button of a JavaScript Display and Grading problem in edX tries to
access the javascript inside the iframe. For this to work, the iframe needs to
be hosted on the same domain as the learning environment. For that reason, we
set up a proxy. To set up a proxy on your edX instance:
- edit the nginx ``lms`` and ``cms`` configuration. If you host with tutor, you can
find the configuration files at ``~/.local/share/tutor/env/apps/nginx``,
otherwise they are at ``/edx/app/nginx/sites-available/``.
- Under the ``server`` definition, add this ``location``:
set up a proxy. To set up a proxy on your edX instance you need to edit the
nginx ``lms`` and ``cms`` configuration.
- If you host with tutor (`>=10.5.1`), you can add a [custom
plugin](https://code.greenhost.net/totem/tutor-server/-/blob/main/plugins/totem-proxy.yml)
- If you don't use tutor, add this under the ``server`` definition in the
``lms`` and ``cms`` configuration files at
``/edx/app/nginx/sites-available/``:
.. code-block:: nginx
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment