mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-15 20:06:10 +05:00
Add ssl enable and ssl port (#430)
This commit is contained in:
committed by
GitHub
parent
17eada6222
commit
98bc722d8e
@@ -4,6 +4,9 @@ FLAGS="--path $TS_CONF_PATH --logpath $TS_LOG_PATH --port $TS_PORT --torrentsdir
|
||||
if [[ "$TS_HTTPAUTH" -eq 1 ]]; then FLAGS="${FLAGS} --httpauth"; fi
|
||||
if [[ "$TS_RDB" -eq 1 ]]; then FLAGS="${FLAGS} --rdb"; fi
|
||||
if [[ "$TS_DONTKILL" -eq 1 ]]; then FLAGS="${FLAGS} --dontkill"; fi
|
||||
if [[ "$TS_EN_SSL" -eq 1 ]]; then FLAGS="${FLAGS} --ssl"; fi
|
||||
if [[ -v "$TS_SSL_PORT" ]]; then FLAGS="${FLAGS} --sslport ${TS_SSL_PORT}"; fi
|
||||
|
||||
|
||||
if [ ! -d $TS_CONF_PATH ]; then
|
||||
mkdir -p $TS_CONF_PATH
|
||||
|
||||
Reference in New Issue
Block a user