Anpassung der Rev-Proxy Konfiguration zur Freischaltung des ControlCenter im Internet (optional)
Version 12.1 von Christian Germann am 2022/03/25 14:00
Im Puppeteer muss folgende Einstellung in der Datei /etc/logodidact/hiera/custom.d/rev-proxy.yaml hinterlegt werden:
vim /etc/logodidact/hiera/custom.d/rev-proxy.yaml
---
nginx::http2: !str off
nginx::http2: !str off
Weiterhin muss für die Freischaltung des ctrl-g1, im Puppeteer das Template vhost_fwd in der Datei /etc/logodidact/hosts/rev-proxy/revproxy.conf hinzugefügt werden. An dieser Stelle bitte den FQDN als Zielhost angeben.
vim /etc/logodidact/hosts/rev-proxy/revproxy.conf
[ReverseProxy ctrl.ShortName.logoip.de]
Url https://ctrl-g1.schule.local
Template vhost_fwd
Url https://ctrl-g1.schule.local
Template vhost_fwd
Erstellen Sie die Datei ctrl-g1.yaml unter /etc/logodidact/hiera/custom.d/ctrl-g1.yaml mit folgenden Inhalt.
vim /etc/logodidact/hiera/custom.d/ctrl-g1.yaml
---
ld_ctrl::settings:
ld-control-service.proxySecurityEnabled: false
ld_ctrl::settings:
ld-control-service.proxySecurityEnabled: false
Die Änderungen anschließend im GIT abspeichern.
cd /etc/logodidact
git add .
git commit -am "ctrl-g1 für Extern freichalten"
git add .
git commit -am "ctrl-g1 für Extern freichalten"
Zu guter letzt muss im rev-proxy ein prun ausgeführt werden.