From 93ecd8ca615f8021f08a0867ba580b0f1802ddcd Mon Sep 17 00:00:00 2001 From: Mario <17320863+myanesp@users.noreply.github.com> Date: Fri, 9 Oct 2026 23:17:58 +0100 Subject: [PATCH] docs: add Traefik examples --- docs/visitor-uploads.md | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/docs/visitor-uploads.md b/docs/visitor-uploads.md index 36a7c8f..556d4c5 100644 --- a/docs/visitor-uploads.md +++ b/docs/visitor-uploads.md @@ -152,6 +152,29 @@ server { } ``` +#### Traefik + +Just copy your current IPP router, change the service to IPP Upload container and add `` `&& PathPrefix(`/upload`)` `` to the host. + +```traefik + ipp: + entryPoints: + - websecure + service: ipp + rule: "Host(`ipp.domain.com`)" + tls: + certResolver: letsencrypt + + ipp-upload: + entryPoints: + - websecure + service: ipp-upload + rule: "Host(`ipp.domain.com`) && PathPrefix(`/upload`)" + priority: 10 + tls: + certResolver: letsencrypt +``` + ### Own hostname Send everything on a separate upload hostname to the upload service. @@ -180,6 +203,18 @@ server { } ``` +#### Traefik + +```traefik + ipp: + entryPoints: + - websecure + service: ipp-upload + rule: "Host(`upload.domain.com`)" + tls: + certResolver: letsencrypt +``` + #### Tell IPP the upload URL Set [`uploadUrl`](/config/ipp-options#uploadurl) in IPP's config to the upload hostname and restart IPP: