This topic explains how to deploy a nginx.conf configuration file to SAE.
SAE supports the deployment of Nginx images and offers two methods for managing the nginx.conf configuration file:
- Incorporate the configuration file into the image. Subsequent modifications require repackaging and redeploying the image to SAE. This approach ensures convenient version control but results in a larger image size.
- Use SAE configuration items to manage the configuration file and mount it into the Nginx image. For detailed steps, see how to manage and use configuration items (K8s ConfigMap). This method offers lightweight management and maintenance, but requires you to handle the configuration file versioning independently.