Update readme.md
This commit is contained in:
parent
f69e24c518
commit
5152037834
1 changed files with 18 additions and 1 deletions
19
readme.md
19
readme.md
|
|
@ -166,7 +166,7 @@ $CFG = new stdClass();
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
// 1. WEB SITE LOCATION
|
// 1. WEB SITE LOCATION
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
$CFG->wwwroot = '[https://deine-moodle-route.deine-domain.de](https://deine-moodle-route.deine-domain.de)';
|
$CFG->wwwroot = 'https://deine-moodle-route.deine-domain.de';
|
||||||
|
|
||||||
|
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
|
@ -368,4 +368,21 @@ Das CDN erzeugt damit nun eine eigene URL, in unserem Fall v22sf2s1td84d5hz6rsf2
|
||||||
|
|
||||||
https://docs.stackit.cloud/stackit/en/add-a-custom-domain-to-your-distribution-332824866.html
|
https://docs.stackit.cloud/stackit/en/add-a-custom-domain-to-your-distribution-332824866.html
|
||||||
|
|
||||||
|
Um moodle, die neue URL mitzuteilen, braucht es noch eine Anpassung der Datei config.php.
|
||||||
|
Dazu den alten Eintrag von:
|
||||||
|
|
||||||
|
```php
|
||||||
|
$CFG->wwwroot = 'https://moodle.cf.demo.stackit.rocks';
|
||||||
|
```
|
||||||
|
|
||||||
|
Durch den neuen:
|
||||||
|
```php
|
||||||
|
$CFG->wwwroot = 'https://moodle.demo.stackit.rocks';
|
||||||
|
```
|
||||||
|
ersetzen und die Anwendung erneut deployen mittels:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
cf push
|
||||||
|
```
|
||||||
|
|
||||||
Nun kann der weltweite Zugriff auf die URL https://moodle.demo.stackit.rocks erfolgen.
|
Nun kann der weltweite Zugriff auf die URL https://moodle.demo.stackit.rocks erfolgen.
|
||||||
Loading…
Reference in a new issue