mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-11 03:36:55 +08:00
10 lines
379 B
Bash
10 lines
379 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
source ./.env
|
||
|
|
||
|
sed -i -E "s/(listen[[:space:]]+)(80)([[:space:]]*;)/\1${PANEL_APP_PORT_HTTP}\3/" conf/conf.d/00.default.conf
|
||
|
sed -i -E "s/(listen[[:space:]]+)(443)([[:space:]]+ssl[[:space:]]+http2;)/\1${PANEL_APP_PORT_HTTPS}\3/" conf/conf.d/00.default.conf
|
||
|
|
||
|
sed -i -E "s/(listen[[:space:]]+)(80)([[:space:]]*;)/\1${PANEL_APP_PORT_HTTP}\3/" conf/conf.d/default.conf
|
||
|
|