File tree Expand file tree Collapse file tree 2 files changed +9
-14
lines changed
Expand file tree Collapse file tree 2 files changed +9
-14
lines changed Original file line number Diff line number Diff line change @@ -365,6 +365,8 @@ backend vmesst_h2
365365 server vmesst 127.0.0.1:2031 send-proxy-v2 tfo
366366
367367{% for d in domains if d['internal_port_reality'] and not d['grpc'] %}
368+ {%set domain=d['domain']%}
369+ {%set port=d['internal_port_reality']%}
368370backend reality_h2_{{port}}
369371 mode tcp
370372 server singbox 127.0.0.1:{{port}} send-proxy-v2
Original file line number Diff line number Diff line change 2121
2222pip uninstall -y flask-babelex > /dev/null 2>&1
2323
24- if [ " ${MODE} " == " install-docker" ]; then
25- rm -rf /opt/hiddify-manager/hiddify-panel/src
26- mkdir -p /opt/hiddify-manager/hiddify-panel/src
27- git clone --depth 1 --branch main https://github.com/hiddify/hiddifypanel.git /opt/hiddify-manager/hiddify-panel/src
28- HIDDIFY_PANLE_SOURCE_DIR=/opt/hiddify-manager/hiddify-panel/src
29- fi
24+ rm -rf /opt/hiddify-manager/hiddify-panel/src
25+ mkdir -p /opt/hiddify-manager/hiddify-panel/src
26+ git clone --depth 1 --branch main https://github.com/hiddify/hiddifypanel.git /opt/hiddify-manager/hiddify-panel/src
27+ HIDDIFY_PANLE_SOURCE_DIR=/opt/hiddify-manager/hiddify-panel/src
3028
3129# install/build hiddifypanel package
32- if [ -n " $HIDDIFY_PANLE_SOURCE_DIR " ]; then
33- echo " NOTICE: building hiddifypanel package from source..."
34- echo " NOTICE: the source dir $HIDDIFY_PANLE_SOURCE_DIR "
35- /opt/hiddify-manager/.venv/bin/pip install -e " $HIDDIFY_PANLE_SOURCE_DIR "
36- else
37- echo " Installing hiddifypanel with the pip"
38- python -c " import hiddifypanel" || pip install -U hiddifypanel
39- fi
30+ echo " NOTICE: building hiddifypanel package from source..."
31+ echo " NOTICE: the source dir $HIDDIFY_PANLE_SOURCE_DIR "
32+ /opt/hiddify-manager/.venv/bin/pip install -e " $HIDDIFY_PANLE_SOURCE_DIR "
4033
4134
4235ln -sf $( which uwsgi) /usr/local/bin/uwsgi > /dev/null 2>&1
You can’t perform that action at this time.
0 commit comments