Refactor docker-compose.yml & Dockerfile; Add Dockerfile_Ngx_template

This commit is contained in:
xor-g committed 2024-10-25 15:50:02 +03:00
1 parent 76aef119bd
commit e6d39be83f
5 files changed
+80 -13

No files matched your search

+4 -1
View File
@@ -1,9 +1,12 @@
#!/bin/bash
[[ -n $KNOCKING_STATUS ]] &&
INTERFACE=$(ip -br a | grep -E "172.28" | awk '{print $1}') || \
INTERFACE=$(ip -br a | grep -E "^eth" | awk '{print $1}')
echo -E "
[options]
Interface = eth1
Interface = ${INTERFACE%@*}
[openNGINX]
sequence = 8100, 7200, 13000