mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-22 06:13:58 -07:00
parent
970aa1d92b
commit
2cdada6bc2
1 changed files with 0 additions and 3 deletions
|
@ -84,9 +84,6 @@ ENABLE_SSL=$(echo "$ENABLE_SSL" | tr '[:upper:]' '[:lower:]')
|
|||
|
||||
if [ "$ENABLE_SSL" = "y" ] || [ "$ENABLE_SSL" = "yes" ]; then
|
||||
SSL_ENABLED="on"
|
||||
if grep -q "TP_PORT=80" .env; then
|
||||
sed -i 's/TP_PORT=80/TP_PORT=443/' .env
|
||||
fi
|
||||
else
|
||||
SSL_ENABLED="off"
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue