Compare commits

...

3 Commits

Author SHA1 Message Date
Rob Watson 60f8f742a5 fix(gitea): correct memory resources change from ce0f243 2024-01-14 06:26:26 +01:00
Rob Watson 0644e41a8f chore(nginx): update robots.txt 2024-01-14 06:19:19 +01:00
Rob Watson 491bdc592d chore(nginx): increase max body size 2024-01-14 06:18:53 +01:00
2 changed files with 6 additions and 6 deletions

View File

@ -3,11 +3,11 @@ kind: Ingress
metadata:
name: ingress
annotations:
nginx.ingress.kubernetes.io/proxy-body-size: 10m
nginx.ingress.kubernetes.io/proxy-body-size: 50m
nginx.ingress.kubernetes.io/server-snippet: |
location = /robots.txt {
add_header Content-Type text/plain;
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: BingBot\nCrawl-delay: 30\n";
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: BingBot\nCrawl-delay: 30\n";
}
spec:
ingressClassName: nginx

View File

@ -91,10 +91,10 @@ spec:
key: admin-password
resources:
requests:
memory: 256Mi
memory: 128Mi
cpu: 100m
limits:
memory: 786Mi
memory: 256Mi
cpu: 1500m
volumeMounts:
- mountPath: /data
@ -143,10 +143,10 @@ spec:
name: data
resources:
requests:
memory: 128Mi
memory: 256Mi
cpu: 100m
limits:
memory: 256Mi
memory: 512Mi
cpu: 1500m
livenessProbe:
tcpSocket: