mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-09-24 19:18:04 +00:00
Let Journiv start over plain HTTP
This commit is contained in:
@@ -45,6 +45,9 @@ function update_script() {
|
||||
$STD uv sync --locked --no-editable --no-install-project
|
||||
msg_ok "Updated Python Environment"
|
||||
|
||||
grep -q '^ALLOW_INSECURE_COOKIE_AUTH_OVER_HTTP=' /opt/journiv.env ||
|
||||
echo 'ALLOW_INSECURE_COOKIE_AUTH_OVER_HTTP=true' >>/opt/journiv.env
|
||||
|
||||
msg_info "Running Database Migrations"
|
||||
set -a
|
||||
source /opt/journiv.env
|
||||
|
||||
@@ -53,6 +53,8 @@ EXPORT_DIR=/opt/journiv_data/exports
|
||||
IMPORT_TEMP_DIR=/opt/journiv_data/imports/temp
|
||||
DOMAIN_NAME=${LOCAL_IP}
|
||||
DOMAIN_SCHEME=http
|
||||
# Journiv refuses to start on plain HTTP without this.
|
||||
ALLOW_INSECURE_COOKIE_AUTH_OVER_HTTP=true
|
||||
PYTHONPATH=/opt/journiv
|
||||
EOF
|
||||
chmod 600 /opt/journiv.env
|
||||
|
||||
Reference in New Issue
Block a user