Fix reverse proxy issue by forcing HTTPS

This commit is contained in:
Vladimir Ischenko
2025-07-09 16:12:17 +03:00
parent 58c97b868f
commit 0227656494

View File

@ -623,6 +623,8 @@ update_nginx_settings(){
fi
start_process documentserver-update-securelink.sh -s ${SECURE_LINK_SECRET:-$(pwgen -s 20)} -r false
# force HTTPS scheme inside proxy headers
sed -i "s|default \$scheme;|default https;|" "$NGINX_ONLYOFFICE_PATH/includes/http-common.conf"
}
update_log_settings(){