Set onion domain
This commit is contained in:
parent
0d7200b9d8
commit
ddcc3b6cdb
|
@ -302,6 +302,8 @@ function install_mediagoblin {
|
|||
|
||||
MEDIAGOBLIN_ONION_HOSTNAME=$(add_onion_service mediagoblin 80 ${MEDIAGOBLIN_ONION_PORT})
|
||||
set_completion_param "mediagoblin domain" "${MEDIAGOBLIN_DOMAIN_NAME}"
|
||||
set_completion_param "mediagoblin onion domain" "$MEDIAGOBLIN_ONION_HOSTNAME"
|
||||
set_completion_param "mediagoblin commit" "$MEDIAGOBLIN_COMMIT"
|
||||
|
||||
if [[ $ONION_ONLY == "no" ]]; then
|
||||
function_check nginx_http_redirect
|
||||
|
@ -490,9 +492,6 @@ function install_mediagoblin {
|
|||
function_check add_ddns_domain
|
||||
add_ddns_domain $MEDIAGOBLIN_DOMAIN_NAME
|
||||
|
||||
set_completion_param "mediagoblin domain" "$MEDIAGOBLIN_DOMAIN_NAME"
|
||||
set_completion_param "mediagoblin commit" "$MEDIAGOBLIN_COMMIT"
|
||||
|
||||
APP_INSTALLED=1
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue