zimbres commented on issue #9931:
URL: https://github.com/apache/apisix/issues/9931#issuecomment-1680598277
Hi
```
apiVersion: apisix.apache.org/v2
kind: ApisixRoute
metadata:
name: webhookinbox
spec:
http:
- name: webhookinbox
match:
hosts:
- webhookinbox.zimbres.com
paths:
- "/*"
backends:
- serviceName: webhookinbox
servicePort: 80
plugins:
- name: redirect
enable: true
config:
http_to_https: true
- name: tcp-logger
enable: true
config:
batch_max_size: 1
host: "graylog.graylog.svc.cluster.local"
name: "tcp logger"
port: 5555
tls: false
include_req_body: true
- name: response-rewrite
enable: true
config:
headers:
add: ["Strict-Transport-Security: max-age=31536000;
includeSubDomains; preload"]
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]