Last active
September 10, 2021 09:30
-
-
Save harshavardhana/3b6e5c89d45133704216530adac4e464 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: networking.k8s.io/v1beta1 # for versions before 1.14 use extensions/v1beta1 | |
kind: Ingress | |
metadata: | |
name: minio-ingress | |
annotations: | |
kubernetes.io/tls-acme: "true" | |
kubernetes.io/ingress.class: "nginx" | |
nginx.ingress.kubernetes.io/proxy-body-size: 0 | |
nginx.ingress.kubernetes.io/proxy-buffering: "off" | |
nginx.ingress.kubernetes.io/configuration-snippet: | | |
proxy_set_header X-Real-IP $remote_addr; | |
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | |
proxy_set_header X-Forwarded-Proto $scheme; | |
proxy_set_header Host $http_host; | |
proxy_connect_timeout 300; | |
proxy_http_version 1.1; | |
proxy_set_header Connection ""; | |
chunked_transfer_encoding off; | |
spec: | |
tls: | |
- hosts: | |
- minio.example.com | |
secretName: minio-ingress-tls | |
rules: | |
- host: minio.example.com | |
http: | |
paths: | |
- path: / | |
backend: | |
serviceName: minio | |
servicePort: http |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment