Verified Commit 12507876 authored by Hugo's avatar Hugo
Browse files

update readme

parent 10176809
Pipeline #782 passed with stage
in 1 minute and 1 second
......@@ -26,28 +26,30 @@ Add `--default-backend-service=$(POD_NAMESPACE)/teapot` to nginx ingress control
- when
- email
### /erreur
#### Ingress example
```yaml
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
annotations:
nginx.ingress.kubernetes.io/rewrite-target: /maintenance?what=RocketChat&when=17h&info=https://forum.indie.host/&egg=https://www.youtube.com/watch?v=dQw4w9WgXcQ&email=1
```
### /
#### Query Params
- msg
### Ingress
#### Ingress
```yaml
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: teapot-test
annotations:
nginx.ingress.kubernetes.io/rewrite-target: /maintenance?what=RocketChat&when=17h&info=https://forum.indie.host/&egg=https://www.youtube.com/watch?v=dQw4w9WgXcQ&email=1
spec:
rules:
- host: teapot-test.liiib.re
http:
paths:
- backend:
serviceName: teapot
servicePort: http
path: /
```
nginx.ingress.kubernetes.io/rewrite-target: /?msg=Nooon!
```
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment