add readme
This commit is contained in:
32
README.md
Normal file
32
README.md
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
# Traefik Config
|
||||||
|
|
||||||
|
## Holy crap this is hard
|
||||||
|
|
||||||
|
## Docs
|
||||||
|
|
||||||
|
Configuration Examples: <https://docs.traefik.io/routing/providers/kubernetes-ingress/>
|
||||||
|
CLI Reference: <https://docs.traefik.io/reference/static-configuration/cli/>
|
||||||
|
|
||||||
|
## Ingress Example
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
apiVersion: networking.k8s.io/v1beta1
|
||||||
|
kind: Ingress
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
ingress.kubernetes.io/ssl-redirect: "true"
|
||||||
|
kubernetes.io/ingress.class: "traefik-external"
|
||||||
|
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
||||||
|
name: jf-external
|
||||||
|
spec:
|
||||||
|
tls:
|
||||||
|
- secretName: letsencrypt
|
||||||
|
rules:
|
||||||
|
- host: jellyfin.ducoterra.net
|
||||||
|
http:
|
||||||
|
paths:
|
||||||
|
- path: /
|
||||||
|
backend:
|
||||||
|
serviceName: jf
|
||||||
|
servicePort: 8096
|
||||||
|
```
|
||||||
Reference in New Issue
Block a user