Skip to main content

How to Install Nginx Ingress Controller

You can execute the following commands to install the Nginx Ingress Controller on your Kubernetes cluster:
Click here to download the ingress-nginx-controller-v1.12.1.yaml file.

How to Configure Nginx Ingress Controller

If you are using the Nginx Ingress Controller, you should set the file upload size limit in the annotations field, too.

How to Access Dify Enterprise

After Ingress Controller is set up, get the external IP of the Ingress Controller first.
Then get the external IP of the Ingress Controller and add the following line to your /etc/hosts file.

What should you do if you use other Ingress Controllers?

  • Generally, Cloud Providers have their own ingress controller. You can use the Cloud Provider’s ingress controller. For more information, please refer to the kubernetes documentation.
  • File Upload Size Limit: You may need to set the file upload size limit in the annotations field of your Ingress Controller configuration. For example, for Nginx Ingress Controller, you can use nginx.ingress.kubernetes.io/proxy-body-size: "15m".
  • Audit Logs IP: You should config X-Forwarded-For header in your Ingress Controller to pass the real IP address of the client.