From f0e30c8ab6cc56667bb1cba813bdefd2e1b69999 Mon Sep 17 00:00:00 2001 From: Christian Winther Date: Thu, 22 Feb 2024 15:02:53 +0000 Subject: [PATCH] expand docs for proxy nginx config --- .../docker/shared/proxy/conf.d/docker-pixelfed.conf | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docker/shared/root/docker/templates/docker/shared/proxy/conf.d/docker-pixelfed.conf b/docker/shared/root/docker/templates/docker/shared/proxy/conf.d/docker-pixelfed.conf index 1b5a9a80f..8bb8f1c95 100644 --- a/docker/shared/root/docker/templates/docker/shared/proxy/conf.d/docker-pixelfed.conf +++ b/docker/shared/root/docker/templates/docker/shared/proxy/conf.d/docker-pixelfed.conf @@ -3,5 +3,13 @@ ########################################################### # This file is generated by the Pixelfed Docker setup, and # will be rewritten on every container start +# +# You can put any .conf file in this directory and it will be loaded +# by nginx on startup. +# +# Run [docker compose exec proxy bash -c 'nginx -t && nginx -s reload'] +# to test your config and reload the proxy +# +# See: https://github.com/nginx-proxy/nginx-proxy/blob/main/docs/README.md#custom-nginx-configuration client_max_body_size {{ getenv "POST_MAX_SIZE" "61M" }};