mirror of
https://github.com/FAUSheppy/athq-vm-management
synced 2025-12-06 05:41:35 +01:00
fix: use correct stream template
This commit is contained in:
6
vm.py
6
vm.py
@@ -1,10 +1,6 @@
|
||||
import libvirt
|
||||
import jinja2
|
||||
|
||||
HA_PROXY_STATIC_ACLS = '''
|
||||
acl is_acme path -i -m beg /.well-known/acme-challenge/
|
||||
'''
|
||||
|
||||
class VM:
|
||||
|
||||
environment = jinja2.Environment(loader=jinja2.FileSystemLoader(searchpath="./templates"))
|
||||
@@ -34,7 +30,7 @@ class VM:
|
||||
|
||||
# port forwarding components #
|
||||
components = []
|
||||
template = self.environment.get_template("nginx_server_block.conf.j2")
|
||||
template = self.environment.get_template("nginx_stream_block.conf.j2")
|
||||
|
||||
for portStruct in self.ports:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user