You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Github action that runs when a release is created that builds acme.js and attaches it to the release.
* add instructions for downloading release
* simplify with gh command line; thanks @ryepup!
* README.md refinements
Copy file name to clipboardExpand all lines: README.md
+10
Original file line number
Diff line number
Diff line change
@@ -15,12 +15,22 @@ NOTE: Some ACME providers have strict rate limits. Please consult with your prov
15
15
## Installation
16
16
17
17
There are a few ways of using this repo. You can:
18
+
* download `acme.js` from the latest [Release](https://github.com/nginx/njs-acme/releases)
18
19
* build an ACME-enabled Docker image to replace your existing NGINX image
19
20
* use Docker to build the `acme.js` file to use with your NGINX installation
20
21
* build `acme.js` using a locally installed Node.js toolkit to use with your NGINX installation
21
22
22
23
Each option above is detailed in each section below.
23
24
25
+
### Downloading the Latest Release
26
+
You can download the latest released `acme.js` file from the [Releases](https://github.com/nginx/njs-acme/releases) page. Typically you would place this in the path `/usr/lib/nginx/njs_modules/acme.js` in your NGINX server. See the example [nginx.conf](examples/nginx.conf) to see how to integrate it into your NGINX configuration.
27
+
28
+
To integrate the downloaded `acme.js` file into a Docker image, you can add the following to your Dockerfile:
29
+
```
30
+
RUN mkdir -p /usr/lib/nginx/njs_modules/
31
+
RUN curl -L -o /usr/lib/nginx/njs_modules/acme.js https://github.com/nginx/njs-acme/releases/download/v1.0.0/acme.js
32
+
```
33
+
24
34
### Creating a Docker Image
25
35
To create an Nginx+NJS+njs-acme Docker image, simply run:
0 commit comments