Hallo Willi,
Das einzige, was ich nicht gefunden habe, ist wie alles direkt auf https 
weiterleiten.
Ich musste für alle Domäne einen Eintrag dafür machen.
Diese Frage verstehe ich nicht!

Neuer Versuch ;
Ich leite alle Anfrage automatisch auf https weiter.
Mit Hilfe der Regexp könnte ich relativ schnell alle Domänen im Pound steuern, z.B. :

ListenHTTPS
    Address 192.168.1.1
    Port    443
    Cert "/etc/certificats/domain.pem"
    Service
HeadRequire "Host: .*sub.*.domain.de.*" ########## Alle SubDomänen, die "sub" enthalten
      BackEnd
        Address 10.16.172.173
        Port    443
        HTTPS
      End
    End
    Service
HeadRequire "Host: .*.domain.de.*" ########## Alle andere Domänen
      BackEnd
        Address 10.16.172.172
        Port    443
        HTTPS
      End
    End
End

Mein Problem ist dann die Weiterleitung http auf https mit Hilfe von Pound, ich könnte nicht mehr das magische * verwenden, und musste pro Domäne einen Eintrag machen :


ListenHTTP
    Address 192.168.1.1
    Port    80
    Service
      HeadRequire "Host: sub-horde.domain.de.*"
      Redirect "https://sub-horde.domain.de";
    End
    Service
      HeadRequire "Host: sub-cloud.domain.de.*"
      Redirect "https://sub-cloud.domain.de";
    End
.....

End

Dieses Verfahren ist nicht optimal, da ich für jede weitere Domäne es ändern muss.

Ich hoffe es ist jetzt klarer :)

Gruß

Arnaud
_______________________________________________
linuxmuster-user mailing list
[email protected]
https://mail.lehrerpost.de/mailman/listinfo/linuxmuster-user

Antwort per Email an