This repository was archived by the owner on Jan 7, 2026. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +9
-1
lines changed
Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -28,4 +28,8 @@ LOG_VIEWER_CACHE_DRIVER=file
2828# DB_ROOT_PASSWORD=rootpassword
2929# DB_DATABASE=lychee
3030# DB_USERNAME=lychee
31- # DB_PASSWORD=lychee
31+ # DB_PASSWORD=lychee
32+
33+ # Allows to use remote connection via vite proxy.
34+ # This disables the graceful handling of sessions expirations.
35+ # VITE_HTTP_PROXY_ENABLED=false
Original file line number Diff line number Diff line change @@ -122,6 +122,7 @@ services:
122122 - REDIS_PORT=${REDIS_PORT:-6379}
123123 - REDIS_PASSWORD=${REDIS_PASSWORD:-}
124124 - LOG_VIEWER_CACHE_DRIVER=${LOG_VIEWER_CACHE_DRIVER:-file}
125+ - VITE_HTTP_PROXY_ENABLED=${VITE_HTTP_PROXY_ENABLED:-false}
125126 restart : unless-stopped
126127 depends_on :
127128 - lychee_db
Original file line number Diff line number Diff line change @@ -317,3 +317,6 @@ if [ "$PHP_TZ" != '' ]; then
317317 sed -i " s|;*date.timezone =.*|date.timezone = ${PHP_TZ} |i" /etc/php/8.4/cli/php.ini
318318 sed -i " s|;*date.timezone =.*|date.timezone = ${PHP_TZ} |i" /etc/php/8.4/fpm/php.ini
319319 fi
320+ if [ " $VITE_HTTP_PROXY_ENABLED " != ' ' ]; then
321+ replace_or_insert " VITE_HTTP_PROXY_ENABLED" " $VITE_HTTP_PROXY_ENABLED "
322+ fi
You can’t perform that action at this time.
0 commit comments