2023-07-09 22:02:51 +02:00
|
|
|
stream {
|
|
|
|
|
|
|
|
map $ssl_preread_server_name $name {
|
|
|
|
wojciechkozlowski.eu rproxy;
|
|
|
|
www.wojciechkozlowski.eu rproxy;
|
|
|
|
default lrproxy;
|
|
|
|
}
|
|
|
|
|
|
|
|
upstream rproxy {
|
|
|
|
server pod-rproxy:443;
|
|
|
|
}
|
|
|
|
|
|
|
|
upstream lrproxy {
|
2023-07-29 14:38:57 +02:00
|
|
|
server localhost:443;
|
2023-07-09 22:02:51 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
server {
|
|
|
|
listen pod-lrproxy:443;
|
|
|
|
proxy_pass $name;
|
|
|
|
ssl_preread on;
|
|
|
|
}
|
|
|
|
}
|