LMSouq
moodle-core Open

Moodle 3.5 with Reverse proxy

EL
eluish192
1 month ago
3 views
Problem Description
I'm having troubles setting up a moodle instance behind an apache proxy. Here's my apache front-end that proxies to the running server. <VirtualHost *:80> ServerName public.domain.com ProxyRequests Off ProxyPreserveHost On ProxyPass / http://10.10.10.10:81/moodle/ ProxyPassReverse / http://10.10.10.10:81/moodle/ </VirtualHost> AND. $CFG->wwwroot = 'http://public.domain.com'; I install without problems, but when finished the installation I try in browser: http://public.domain.com This redirect to: http://public.domain.com/moodle/index.php?sessionstarted=1&lang=en... Does anyone know what might be happening?

AI-Generated Solution

Powered by LMSouq AI · GPT-4.1-mini

✓ Solution Ready
Analyzing problem and generating solution…
Was this solution helpful?
Back to Knowledge Base