hosting: some config files for host: shadow, some named conf for
utility-101-shadow vm
This commit is contained in:
@@ -64,7 +64,10 @@ http {
|
||||
stream {
|
||||
map $ssl_preread_server_name $backend {
|
||||
# Passthrough to K8s
|
||||
ghost.lab.home.hrajfrisbee.cz k8s_gatewayapi;
|
||||
|
||||
~^.+\.lab\.home\.hrajfrisbee\.cz$ k8s_ingress;
|
||||
lab\.home\.hrajfrisbee\.cz$ k8s_ingress;
|
||||
|
||||
default local_https;
|
||||
}
|
||||
@@ -73,6 +76,10 @@ stream {
|
||||
server docker-30:9443;
|
||||
}
|
||||
|
||||
upstream k8s_gatewayapi {
|
||||
server docker-30:9444;
|
||||
}
|
||||
|
||||
upstream local_https {
|
||||
server 127.0.0.1:8443; # Loop back to http block
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user