Skip to content

Reverse-Proxy / Weiterleitung für http(s)-Port von Subdomains, welches Paket ist dafür geeignet? #940

Answered by fda77
Bodenseematze asked this question in Fixed
Discussion options

You must be logged in to vote

Bei mir hat nur der lighttpd ein öffentliches Zertifikat, da der alles transparent weiterleitet, ich finde da so einfacher. Der lighttpd ist mittleriweile aber auf einem Raspberry, ich hatte das früher auf einem avm geräte.

$HTTP["url"]  =~ "^/dyndns/(devicea|alias)/"             { proxy.server = ( "" =>  (( "host" => "192.168.178.2", "port" => 81   ))) }
$HTTP["host"] =~ "^deviceb\.dyndns\.(domaina|domb)\.de$" { proxy.server = ( "" =>  (( "host" => "192.168.178.3", "port" => 82   ))) }
$HTTP["host"] =~ "^devicec\.dyndns\.(domaina|domb)\.de$" { proxy.server = ( "" =>  (( "host" => "192.168.178.4", "port" => 83   ))) , ssl.pemfile = "/etc/../special.pem", ssl.ca-file = "/etc/.../special.pu…

Replies: 6 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@Bodenseematze
Comment options

Comment options

You must be logged in to vote
1 reply
@Bodenseematze
Comment options

Answer selected by Bodenseematze
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@fda77
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants