Update server ports in nginxHandler.py and

docker-compose.yml
This commit is contained in:
DerTyp7
2023-11-24 14:39:02 +01:00
parent 9e932623c7
commit f95004f03d
2 changed files with 6 additions and 3 deletions

View File

@@ -34,8 +34,8 @@ class NginxHandler:
for port in port_ip_map:
nginx_conf.write(' upstream upstream_{} {{\n'.format(port))
nginx_conf.write(' server {}:{};\n'.format(
port_ip_map[port], port))
nginx_conf.write(' server {}:25565;\n'.format(
port_ip_map[port]))
nginx_conf.write(
' server 127.0.0.1:{} backup;\n'.format(port))
nginx_conf.write(' }\n')