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: metadata:
name: ingress name: ingress
annotations: annotations:
nginx.ingress.kubernetes.io/proxy-body-size: 10m nginx.ingress.kubernetes.io/proxy-body-size: 50m
nginx.ingress.kubernetes.io/server-snippet: | nginx.ingress.kubernetes.io/server-snippet: |
location = /robots.txt { location = /robots.txt {
add_header Content-Type text/plain; 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: spec:
ingressClassName: nginx ingressClassName: nginx

View File

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