Did you play with $CFG->reverseproxy and $CFG->sslproxy?
Visvanath Ratnaweera
Posts made by Visvanath Ratnaweera
I don't know, whether my idea is applicable. What I am saying is to do the equivalent of
$ wget -q -O /dev/null 'http://example.com/admin/cron.php?password=SECRET'
for the shell on the Moodle itself by making that Synology tool to to visit http://example.com/admin/cron.php?password=SECRET
Hi
If this interface sends the target to the web server, then it should be http(s)://yoursite/admin/cron.php. See https://docs.moodle.org/en/Cron#The_web_based_Moodle_cron_command.
If this interface sends the target to the web server, then it should be http(s)://yoursite/admin/cron.php. See https://docs.moodle.org/en/Cron#The_web_based_Moodle_cron_command.
Update
There is something wrong with my installation procedure. I installed the vpl-jail-system on a completely different machine, in a different (public) network, this time running Ubuntu 20.04 and no other web servers. So I let the default ports, 80 and 443, to be taken over by the vpl-jail-server.
The result is exactly the same. A Moodle site with VPL plug-in installed responds to the Pascal "Hello, World!" by opening the console and printing the output - if I give the http://demojail.dis.ulpgc.es. If I change to http://fqdn:8080 of the first vpl-jail-system or http://ip of the second vpl-jail-system, no console opens. I can see Run in a pop-up which vanishes, saw at least once "Get execution server" in its title. But no "Hello, World!" output.
The odd thing is, it always says, 1 test run / 1 test passed, even if I deliberately change the output string.
I must repeat that both http://fqdn:8080/OK and http://ip/OK brings 'OK'.
There is something wrong with my installation procedure. I installed the vpl-jail-system on a completely different machine, in a different (public) network, this time running Ubuntu 20.04 and no other web servers. So I let the default ports, 80 and 443, to be taken over by the vpl-jail-server.
The result is exactly the same. A Moodle site with VPL plug-in installed responds to the Pascal "Hello, World!" by opening the console and printing the output - if I give the http://demojail.dis.ulpgc.es. If I change to http://fqdn:8080 of the first vpl-jail-system or http://ip of the second vpl-jail-system, no console opens. I can see Run in a pop-up which vanishes, saw at least once "Get execution server" in its title. But no "Hello, World!" output.
The odd thing is, it always says, 1 test run / 1 test passed, even if I deliberately change the output string.
I must repeat that both http://fqdn:8080/OK and http://ip/OK brings 'OK'.
What does PHP#Displaying_phpinfo_outside_of_Moodle bring?
P.S. General developer is the wrong forum. I think in the correct forum, Installing and Upgrading, you would have got a better response.