Update Servers/Containerization/Docker/Compose/Snipe-IT.md
All checks were successful
GitOps Automatic Deployment / GitOps Automatic Deployment (push) Successful in 6s
All checks were successful
GitOps Automatic Deployment / GitOps Automatic Deployment (push) Successful in 6s
This commit is contained in:
@@ -107,29 +107,30 @@ If the container does not run on the same host as Traefik, you will need to manu
|
|||||||
```yaml
|
```yaml
|
||||||
http:
|
http:
|
||||||
routers:
|
routers:
|
||||||
assets:
|
assets-bunny-lab-io:
|
||||||
entryPoints:
|
entryPoints:
|
||||||
- websecure
|
- websecure
|
||||||
rule: Host(`assets.bunny-lab.io`)
|
rule: "Host(`assets.bunny-lab.io`)"
|
||||||
service: assets
|
service: "assets-bunny-lab-io"
|
||||||
tls:
|
tls:
|
||||||
certResolver: letsencrypt
|
certResolver: letsencrypt
|
||||||
middlewares:
|
middlewares:
|
||||||
- assets
|
- "assets-bunny-lab-io"
|
||||||
|
- "auth-bunny-lab-io" # Referencing the Keycloak Server
|
||||||
|
|
||||||
middlewares:
|
middlewares:
|
||||||
assets:
|
assets-bunny-lab-io:
|
||||||
headers:
|
headers:
|
||||||
customRequestHeaders:
|
customRequestHeaders:
|
||||||
X-Forwarded-Proto: https
|
X-Forwarded-Proto: "https"
|
||||||
X-Forwarded-Host: assets.bunny-lab.io
|
X-Forwarded-Host: "assets.bunny-lab.io"
|
||||||
customResponseHeaders:
|
customResponseHeaders:
|
||||||
X-Custom-Header: CustomValue # Example of a static header
|
X-Custom-Header: "CustomValue" # Example of a static header
|
||||||
|
|
||||||
services:
|
services:
|
||||||
assets:
|
assets-bunny-lab-io:
|
||||||
loadBalancer:
|
loadBalancer:
|
||||||
servers:
|
servers:
|
||||||
- url: http://192.168.5.50:80
|
- url: "http://192.168.5.50:8080"
|
||||||
passHostHeader: true
|
passHostHeader: true
|
||||||
```
|
```
|
||||||
Reference in New Issue
Block a user