kube transfer to single-node host
This commit is contained in:
@@ -42,6 +42,10 @@ stream {
|
||||
{{ item.external.domain }}{{ expose_tld }} unix:/var/lib/nginx/tmp/nginx_https.sock;
|
||||
{% endfor %}
|
||||
|
||||
{% for item in forward %}
|
||||
{{ item.domain }}{{ expose_tld }} {{ item.ip }};
|
||||
{% endfor %}
|
||||
|
||||
# By default forward to our internal nginx server (probably kubernetes)
|
||||
default {{ defaults.forward_ip }};
|
||||
}
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
upstream kube_backend {
|
||||
server 10.1.2.13:6443 max_fails=2 fail_timeout=30s;
|
||||
server 10.1.2.14:6443 max_fails=2 fail_timeout=30s;
|
||||
server 10.1.2.15:6443 max_fails=2 fail_timeout=30s;
|
||||
}
|
||||
|
||||
server {
|
||||
|
||||
@@ -9,13 +9,14 @@ defaults:
|
||||
internal_https_port: 443
|
||||
internal_ipv4_regex:
|
||||
- "10.1.*"
|
||||
- "192.168.4.*"
|
||||
- "192.168.5.*"
|
||||
- "192.168.6.*"
|
||||
internal_ipv6_regex:
|
||||
- "2600:1700:1e6c:a81f.*"
|
||||
expose_tld: .reeseapps.com
|
||||
|
||||
forward:
|
||||
- domain: nextcloud
|
||||
ip: fd00:fd41:d0f1:1010::8
|
||||
|
||||
http:
|
||||
- external:
|
||||
domain: homeassistant
|
||||
@@ -33,7 +34,7 @@ http:
|
||||
extra_http_ports: []
|
||||
extra_https_ports: []
|
||||
internal:
|
||||
ip: "10.1.2.10"
|
||||
ip: "[fd00:fd41:d0f1:1010::6]"
|
||||
port: 8443
|
||||
protocol: https
|
||||
|
||||
@@ -53,7 +54,7 @@ http:
|
||||
extra_http_ports: []
|
||||
extra_https_ports: []
|
||||
internal:
|
||||
ip: "10.1.203.197"
|
||||
ip: "[fd00:fd41:d0f1:1010::1]"
|
||||
port: 9090
|
||||
protocol: https
|
||||
|
||||
@@ -63,7 +64,7 @@ http:
|
||||
extra_http_ports: []
|
||||
extra_https_ports: []
|
||||
internal:
|
||||
ip: "10.1.2.13"
|
||||
ip: "[fd00:fd41:d0f1:1010::3]"
|
||||
port: 9090
|
||||
protocol: https
|
||||
|
||||
@@ -73,7 +74,7 @@ http:
|
||||
extra_http_ports: []
|
||||
extra_https_ports: []
|
||||
internal:
|
||||
ip: "10.1.2.14"
|
||||
ip: "[fd00:fd41:d0f1:1010::4]"
|
||||
port: 9090
|
||||
protocol: https
|
||||
|
||||
@@ -83,7 +84,7 @@ http:
|
||||
extra_http_ports: []
|
||||
extra_https_ports: []
|
||||
internal:
|
||||
ip: "10.1.2.15"
|
||||
ip: "[fd00:fd41:d0f1:1010::5]"
|
||||
port: 9090
|
||||
protocol: https
|
||||
|
||||
@@ -93,7 +94,7 @@ http:
|
||||
extra_http_ports: []
|
||||
extra_https_ports: []
|
||||
internal:
|
||||
ip: "10.1.241.139"
|
||||
ip: "[fd00:fd41:d0f1:1010::7]"
|
||||
port: 9090
|
||||
protocol: https
|
||||
|
||||
@@ -103,7 +104,7 @@ http:
|
||||
extra_http_ports: []
|
||||
extra_https_ports: []
|
||||
internal:
|
||||
ip: "10.1.175.237"
|
||||
ip: "[fd00:fd41:d0f1:1010::8]"
|
||||
port: 9090
|
||||
protocol: https
|
||||
|
||||
@@ -128,7 +129,7 @@ http:
|
||||
extra_http_ports: []
|
||||
extra_https_ports: []
|
||||
internal:
|
||||
ip: "10.1.203.197"
|
||||
ip: "10.180.238.1"
|
||||
port: 8081
|
||||
protocol: http
|
||||
|
||||
@@ -148,7 +149,7 @@ http:
|
||||
extra_http_ports: []
|
||||
extra_https_ports: []
|
||||
internal:
|
||||
ip: 10.1.175.237
|
||||
ip: "[fd00:fd41:d0f1:1010::8]"
|
||||
port: 11000
|
||||
protocol: http
|
||||
|
||||
@@ -159,6 +160,16 @@ http:
|
||||
- 8080
|
||||
extra_https_ports: []
|
||||
internal:
|
||||
ip: 10.1.241.139
|
||||
ip: "[fd00:fd41:d0f1:1010::7]"
|
||||
port: 8443
|
||||
protocol: https
|
||||
|
||||
- external:
|
||||
domain: pivpn
|
||||
restricted: true
|
||||
extra_http_ports: []
|
||||
extra_https_ports: []
|
||||
internal:
|
||||
ip: "[fd00:fd41:d0f1:1010::9]"
|
||||
port: 9090
|
||||
protocol: https
|
||||
|
||||
Reference in New Issue
Block a user