Anpassung der Rev-Proxy Konfiguration zur Freischaltung des ControlCenter im Internet (optional)
Version 14.1 von superadmin am 2022/03/25 14:03
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
Inhalt:
---
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
Inhalt:
[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
Inhalt:
---
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"
Mit einem Prun im Rev-Proxy, wird die Freigaben wirkend gemacht.