mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-05-05 19:07:43 +00:00
Fix default Syno port to match documentation that says it defaults to 5001 when scheme is https
This commit is contained in:
parent
1b59b0b739
commit
be64738c8b
@ -58,7 +58,7 @@ synology_dsm_deploy() {
|
||||
# defaulting to localhost and http because it's localhost...
|
||||
[ -n "${SYNO_Scheme}" ] || SYNO_Scheme="http"
|
||||
[ -n "${SYNO_Hostname}" ] || SYNO_Hostname="localhost"
|
||||
[ -n "${SYNO_Port}" ] || SYNO_Port="5000"
|
||||
[ -n "${SYNO_Port}" ] || SYNO_Port=$( [ $(echo $SYNO_Scheme | tr '[:upper:]' '[:lower:]') = "https" ] && echo '5001' || echo '5000' )
|
||||
|
||||
_savedeployconf SYNO_Scheme "$SYNO_Scheme"
|
||||
_savedeployconf SYNO_Hostname "$SYNO_Hostname"
|
||||
|
Loading…
x
Reference in New Issue
Block a user