Skip to content

Commit

Permalink
feat: improve moodle config of proxy
Browse files Browse the repository at this point in the history
xfoxfu committed Nov 14, 2024
1 parent e1489c1 commit 21c5eef
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions config.php
Original file line number Diff line number Diff line change
@@ -22,6 +22,9 @@
$CFG->dataroot = getenv('MOODLE_DATA_ROOT') ?: '/var/www/moodledata';
$CFG->admin = getenv('MOODLE_ADMIN') ?: 'admin';

$CFG->reverseproxy = true;
$CFG->sslproxy = true;

$CFG->directorypermissions = 0777;

require_once(__DIR__ . '/lib/setup.php');

0 comments on commit 21c5eef

Please sign in to comment.