Update Servers/Containerization/Docker/Compose/Snipe-IT.md
All checks were successful
GitOps Automatic Deployment / GitOps Automatic Deployment (push) Successful in 6s

This commit is contained in:
2026-01-26 03:27:13 -07:00
parent 776eb2a973
commit 1ac4c2971e

View File

@@ -107,29 +107,30 @@ If the container does not run on the same host as Traefik, you will need to manu
```yaml
http:
routers:
assets:
assets-bunny-lab-io:
entryPoints:
- websecure
rule: Host(`assets.bunny-lab.io`)
service: assets
rule: "Host(`assets.bunny-lab.io`)"
service: "assets-bunny-lab-io"
tls:
certResolver: letsencrypt
middlewares:
- assets
- "assets-bunny-lab-io"
- "auth-bunny-lab-io" # Referencing the Keycloak Server
middlewares:
assets:
assets-bunny-lab-io:
headers:
customRequestHeaders:
X-Forwarded-Proto: https
X-Forwarded-Host: assets.bunny-lab.io
X-Forwarded-Proto: "https"
X-Forwarded-Host: "assets.bunny-lab.io"
customResponseHeaders:
X-Custom-Header: CustomValue # Example of a static header
X-Custom-Header: "CustomValue" # Example of a static header
services:
assets:
assets-bunny-lab-io:
loadBalancer:
servers:
- url: http://192.168.5.50:80
- url: "http://192.168.5.50:8080"
passHostHeader: true
```