Skip to content

Commit 705d37c

Browse files
committed
CI: Upgrade nginx to version 1.25.3
1 parent d40034f commit 705d37c

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
matrix:
99
include:
1010
- os: ubuntu-22.04
11-
nginx-version: 1.23.4
11+
nginx-version: 1.25.3
1212
steps:
1313
- uses: actions/checkout@v4
1414
- name: Install dependencies
@@ -22,7 +22,7 @@ jobs:
2222
- name: Install nginx
2323
env:
2424
NGINX_VERSION: ${{ matrix.nginx-version }}
25-
run: ci/install-nginx.sh --add-module=${{ github.workspace }}/
25+
run: ci/install-nginx.sh --add-module=$GITHUB_WORKSPACE/
2626
- name: Build Redis rate limiter module
2727
run: ci/build-rate-limiter.sh
2828
- name: Install Redis rate limiter module

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ This implementation is based on the following [Redis module](https://redis.io/to
99
* [redis-rate-limiter](https://github.com/onsigntv/redis-rate-limiter)
1010

1111
Which offers a straightforward implementation of the fairly sophisticated [generic cell rate algorithm](https://en.wikipedia.org/wiki/Generic_cell_rate_algorithm), in 130 lines of C, without external dependencies.
12-
12+
1313
*This module is not distributed with the Nginx source.*
1414

1515
## Status
@@ -66,13 +66,13 @@ ___location = /quota {
6666

6767
You can install this module manually by recompiling the standard Nginx core as follows:
6868

69-
1. Grab the nginx source code from [nginx.org](http://nginx.org) (this module is tested on version 1.23.4).
69+
1. Grab the nginx source code from [nginx.org](http://nginx.org) (this module is tested on version 1.25.3).
7070
2. Clone this repository into a newly created directory (for e.g. `./rate-limit-nginx-module`)
7171
3. Build the nginx source with this module:
7272
```bash
73-
wget https://nginx.org/download/nginx-1.23.4.tar.gz
74-
tar -xzvf nginx-1.23.4.tar.gz
75-
cd nginx-1.23.4/
73+
wget https://nginx.org/download/nginx-1.25.3.tar.gz
74+
tar -xzvf nginx-1.25.3.tar.gz
75+
cd nginx-1.25.3/
7676

7777
git clone https://github.com/weserv/rate-limit-nginx-module rate-limit-nginx-module
7878

@@ -116,6 +116,6 @@ export PATH=/path/to/your/nginx/sbin:$PATH
116116
prove -I/path/to/test-nginx/lib t/sanity.t
117117
```
118118

119-
To run a specific test block in a particular test file, add the line
120-
`--- ONLY` to the test block you want to run, and then use the `prove`
119+
To run a specific test block in a particular test file, add the line
120+
`--- ONLY` to the test block you want to run, and then use the `prove`
121121
utility to run that `.t` file.

0 commit comments

Comments
 (0)