nginx-static

by Midokura

Helm chartv0.1.6App 1.23.0Verified publisher

Deploy nginx with static pages

About this chart

Nginx static

This Helm Chart installs nginx web server and optionally enables pulling content from Git servers using SSH-keys.

Main purpose of this Helm Chart is to serve a static page, by using upstream base image, or your own custom image with content already bundled.

Please note that default values are enforcing a digest to ensure you deploy the same Docker image version. You can override this by providing another valid digest or removing the value:

image:
  digest: null

Persistence

Optionally, you can use persistence to store permanent data (suitable for custom images). Note that this will still use Deployment type, so it requires to run as a single replica, unless you provide a StorageClass with ReadWriteMany support.

nginx configuration

If you have your own customized image including server settings definition, you can disable the mount of default configuration.

configNginx: false

If you want to keep using default nginx application, you can expand the default.conf with your own settings - for example, redirect a location to somewhere else.

Deploy nginx-static with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has nginx-static on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartnginx-static is pinned at v0.1.6 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply