Skip to content

Commit

Permalink
fix: typos in nginx readme
Browse files Browse the repository at this point in the history
  • Loading branch information
kant authored Oct 5, 2023
1 parent 79d6711 commit ee46a6c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions nginx/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ This folder contains the set up for the CHT Nginx Image. It operates in 3 modes
## Required Environment Variables

1. `CERTIFICATE_MODE` - TLS mode to use when starting nginx. Options are:
1. `OWN_CERT` - bring your own TLS certificate. The docker container should be pointed to a drive location that contains both the the certificate amd private key mounted at `/etc/nginx/private/cert.pem` and `/etc/nginx/private/key.pem` respectively.
1. `OWN_CERT` - bring your own TLS certificate. The docker container should be pointed to a drive location that contains both the certificate and private key mounted at `/etc/nginx/private/cert.pem` and `/etc/nginx/private/key.pem` respectively.
1. `AUTO_GENERATE` - generate new TLS certificate using [Let's Encrypt](https://letsencrypt.org/). To persist the results of this operation on container restart, you need to map a volume that stores this certificate at `/root/.acme.sh/`
1. `SELF_SIGNED` - to generate a self signed certificate based on env vars below
2. `COMMON_NAME` - Domain name. manadatory
2. `COMMON_NAME` - Domain name. mandatory
3. `EMAIL` - The registration email. mandatory
4. `COUNTRY` - Registartion country in [ISO-3166-1 ALPHA-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format (eg `US` for United States).
4. `COUNTRY` - Registration country in [ISO-3166-1 ALPHA-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format (eg `US` for United States).
5. `STATE` - State registration
6. `LOCALITY` - Locatlity registration
7. `ORGANISATION` - Organistaion registration
6. `LOCALITY` - Locality registration
7. `ORGANISATION` - Organisation registration
8. `DEPARTMENT` - The department.

0 comments on commit ee46a6c

Please sign in to comment.