Browse Source

Define upstream.

master
Chris Smith 6 years ago
parent
commit
3e94a35339
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      generate.py

+ 1
- 0
generate.py View File

35
     if os.path.isfile(certfile):
35
     if os.path.isfile(certfile):
36
       if not up in services:
36
       if not up in services:
37
         services[up] = {
37
         services[up] = {
38
+          'upstream': up,
38
           'protocol': protocols[container] if container in protocols else 'http',
39
           'protocol': protocols[container] if container in protocols else 'http',
39
           'vhosts': domains[container],
40
           'vhosts': domains[container],
40
           'hosts': [],
41
           'hosts': [],

Loading…
Cancel
Save