all repos — nixfiles @ f635ceec46353e8396cc5994e77fe79ec4baff72

System and user configuration, managed by nix and home-manager

linde: fix paperless startup error

Alan Pearce
commit

f635ceec46353e8396cc5994e77fe79ec4baff72

parent

c6c4279ade0e7fd619951cb6a29fdaba9f60eadf

1 file changed, 2 insertions(+), 2 deletions(-)

changed files
M system/linde.nixsystem/linde.nix
@@ -862,14 +862,14 @@ };
}; services.paperless = { enable = true; - address = "[::1]"; + address = "::1"; mediaDir = "${externalDir}/media"; settings = { PAPERLESS_DBENGINE = "sqlite"; PAPERLESS_TIME_ZONE = "Europe/Berlin"; PAPERLESS_URL = "https://${tsHostname}"; - PAPERLESS_TRUSTED_PROXIES = "[::1]"; + PAPERLESS_TRUSTED_PROXIES = "::1"; PAPERLESS_USE_X_FORWARD_HOST = true; PAPERLESS_USE_X_FORWARD_PORT = true; PAPERLESS_PROXY_SSL_HEADER = [ "HTTP_X_FORWARDED_PROTO" "https" ];