mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-01 23:56:39 +08:00
print ip
This commit is contained in:
parent
e73a5c4f4b
commit
d9f324bcf6
@ -75,7 +75,7 @@ EXPOSE 23000
|
||||
EXPOSE 23001
|
||||
ENV KEEP_ALIVE_TIMEOUT=30
|
||||
|
||||
CMD if [ -n "$PROXY_URL" ]; then \
|
||||
CMD wget -qO- myip.ipip.net ; if [ -n "$PROXY_URL" ]; then \
|
||||
export HOSTNAME="0.0.0.0"; \
|
||||
protocol=$(echo $PROXY_URL | cut -d: -f1); \
|
||||
host=$(echo $PROXY_URL | cut -d/ -f3 | cut -d: -f1); \
|
||||
|
Loading…
Reference in New Issue
Block a user