Refactor docker-compose.yml & Dockerfile; Add Dockerfile_Ngx_template
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user