109 lines
2.6 KiB
YAML
Raw Normal View History

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: ingress
2022-05-17 09:16:24 +02:00
annotations:
2024-01-14 06:19:04 +01:00
nginx.ingress.kubernetes.io/proxy-body-size: 50m
2022-05-17 09:16:24 +02:00
nginx.ingress.kubernetes.io/server-snippet: |
2024-01-13 14:17:34 +01:00
location = /robots.txt {
add_header Content-Type text/plain;
2024-01-20 20:43:24 +01:00
return 200 "User-agent: Amazonbot\nDisallow: /\n\nUser-agent: BLEXBot\nDisallow: /\n\nUser-agent: SemrushBot\nDisallow: /\n\nUser-agent: AhrefsBot\nDisallow: /\n\nUser-agent: DotBot\nDisallow: /\n\nUser-agent: MJ12bot\nDisallow: /\n\nUser-agent: PetalBot\nDisallow: /\n\nUser-agent: ImagesiftBot\nDisallow: /\n\nUser-agent: BingBot\nCrawl-delay: 30\n";
2022-05-17 09:16:24 +02:00
}
spec:
ingressClassName: nginx
# NOTE: overlays depend on the order of rule entries.
rules:
- host: grafana.internal
http:
paths:
- pathType: Prefix
path: "/"
backend:
service:
name: grafana
port:
name: service
- host: invidious.internal
2022-05-11 11:18:49 +02:00
http:
paths:
- pathType: Prefix
path: "/"
backend:
service:
name: invidious
port:
name: http
- host: element.internal
2022-05-11 20:21:35 +02:00
http:
paths:
- pathType: Prefix
path: "/"
backend:
service:
name: element
port:
name: http
2022-05-18 18:11:15 +02:00
# See the comment in the drone-config configMapGenerator in
# dev/kustomization.yaml:
- host: gitea.internal
2022-05-16 22:23:53 +02:00
http:
paths:
- pathType: Prefix
path: "/"
backend:
service:
name: gitea
port:
name: http
2022-05-18 18:11:15 +02:00
- host: drone.internal
http:
paths:
- pathType: Prefix
path: "/"
backend:
service:
name: drone
port:
name: http
2022-06-04 03:07:12 +02:00
- host: synapse.internal
http:
paths:
- pathType: Prefix
path: "/"
backend:
service:
name: synapse
port:
name: http
2022-06-06 13:47:37 +02:00
- host: netflux.internal
http:
paths:
- pathType: Prefix
path: "/"
backend:
service:
name: netflux-homepage
port:
name: http
2022-06-19 04:46:48 +02:00
- host: caldav.internal
http:
paths:
- pathType: Prefix
path: "/"
backend:
service:
name: radicale
port:
name: caldav
- host: solar-gateway.internal
http:
paths:
- pathType: Prefix
path: "/"
backend:
service:
name: solar-toolkit-gateway
port:
name: http