docs: add Traefik examples

This commit is contained in:
Mario
2026-10-09 23:17:58 +01:00
committed by GitHub
parent 3705f09c5e
commit 93ecd8ca61
+35
View File
@@ -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: