From 0a7fb6fd05d11cf1aaf0279602a0ba18c8c4f6c8 Mon Sep 17 00:00:00 2001 From: LRVT <21357789+l4rm4nd@users.noreply.github.com> Date: Wed, 1 Nov 2023 20:28:52 +0100 Subject: [PATCH] Update docker-compose.yml uncomment client ip env --- examples/chevereto/docker-compose.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/examples/chevereto/docker-compose.yml b/examples/chevereto/docker-compose.yml index cc99032..f0c657e 100644 --- a/examples/chevereto/docker-compose.yml +++ b/examples/chevereto/docker-compose.yml @@ -21,7 +21,10 @@ services: CHEVERETO_ASSET_STORAGE_TYPE: local CHEVERETO_ASSET_STORAGE_URL: /images/_assets CHEVERETO_ASSET_STORAGE_BUCKET: /var/www/html/images/_assets - CHEVERETO_HEADER_CLIENT_IP: X-Forwarded-For # only enable this if run begind reverse proxy + # only enable the next env if chevereto is run begind a reverse proxy + # adjust to the corresponding http header of your reverse proxy, where a user's real IP is propagated + # see https://github.com/chevereto/chevereto/issues/44 + #CHEVERETO_HEADER_CLIENT_IP: X-Forwarded-For #networks: # - proxy #labels: @@ -54,4 +57,4 @@ volumes: #networks: # proxy: -# external: true \ No newline at end of file +# external: true