add source code and readme
This commit is contained in:
34
manifests/applications/pixelfed/ingress.yaml
Normal file
34
manifests/applications/pixelfed/ingress.yaml
Normal file
@@ -0,0 +1,34 @@
|
||||
---
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: pixelfed-ingress
|
||||
namespace: pixelfed-application
|
||||
labels:
|
||||
app.kubernetes.io/name: pixelfed
|
||||
app.kubernetes.io/component: ingress
|
||||
annotations:
|
||||
kubernetes.io/ingress.class: nginx
|
||||
nginx.ingress.kubernetes.io/proxy-body-size: "20m"
|
||||
nginx.ingress.kubernetes.io/client-max-body-size: "20m"
|
||||
nginx.ingress.kubernetes.io/backend-protocol: "HTTP"
|
||||
|
||||
# Laravel HTTPS detection
|
||||
nginx.ingress.kubernetes.io/proxy-set-headers: "pixelfed-nginx-headers"
|
||||
|
||||
nginx.ingress.kubernetes.io/limit-rps: "20"
|
||||
nginx.ingress.kubernetes.io/limit-burst-multiplier: "15" # 300 burst capacity (20*15) for federation bursts
|
||||
spec:
|
||||
ingressClassName: nginx
|
||||
tls: []
|
||||
rules:
|
||||
- host: pixelfed.keyboardvagabond.com
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: pixelfed-web
|
||||
port:
|
||||
number: 80
|
||||
Reference in New Issue
Block a user