nginx/ingress.conf (view raw)
1stream {
2 upstream ingress443 {
3 server 192.168.4.150:443;
4 }
5
6 upstream ingress80 {
7 server 192.168.4.150:80;
8 }
9
10 upstream irc {
11 server 192.168.4.151:6666;
12 }
13 server {
14 listen 443;
15 proxy_pass ingress443;
16 proxy_next_upstream on;
17 }
18 server {
19 listen 80;
20 proxy_pass ingress80;
21 proxy_next_upstream on;
22 }
23 server {
24 listen 6666;
25 proxy_pass irc;
26 proxy_next_upstream on;
27 }
28}