mirror of
https://github.com/pooneyy/1Panel-Appstore.git
synced 2026-03-27 14:05:00 +08:00
feat: Change init.sh script
This commit is contained in:
parent
3946d37c56
commit
20399a6123
@ -2,10 +2,7 @@
|
||||
|
||||
source ./.env
|
||||
|
||||
sed -i -E "s/(listen[[:space:]]+)(80)([[:space:]]*;)/\1${PANEL_APP_PORT_HTTP}\3/" conf/default/00.default.conf
|
||||
sed -i -E "s/(listen[[:space:]]+)(443)([[:space:]]+ssl[[:space:]]+http2;)/\1${PANEL_APP_PORT_HTTPS}\3/" conf/default/00.default.conf
|
||||
|
||||
sed -i -E "s/(listen[[:space:]]+)(80)([[:space:]]*;)/\1${PANEL_APP_PORT_HTTP}\3/" conf/default/default.conf
|
||||
|
||||
|
||||
sed -i -E "s/(listen[[:space:]]+)80([[:space:]]*default_server;)/\1${PANEL_APP_PORT_HTTP}\2/" conf/default/00.default.conf
|
||||
sed -i -E "s/(listen[[:space:]]+)\[::]:80([[:space:]]*default_server;)/\1\[::]:${PANEL_APP_PORT_HTTP}\2/" conf/default/00.default.conf
|
||||
|
||||
sed -i -E "s/(listen[[:space:]]+)(80)([[:space:]]*;)/\1${PANEL_APP_PORT_HTTP}\3/" conf/default/default.conf
|
||||
Loading…
x
Reference in New Issue
Block a user