Skip to content

Commit

Permalink
feat: updated nginx version to latest, and using custom ngx_http_redi…
Browse files Browse the repository at this point in the history
…s version with fix for nginx >= 1.23 (#146)

* feat: updated nginx version to latest, and using custom ngx_http_redis version with fix for nginx >= 1.23

* feat: bump version number
  • Loading branch information
TeKrop authored Jun 24, 2024
1 parent 374711b commit e9cdf0e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions build/nginx/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Build arguments
ARG NGINX_VERSION=1.20.2
ARG NGX_HTTP_REDIS_VERSION=0.3.8
ARG NGINX_VERSION=1.27.0
ARG NGX_HTTP_REDIS_VERSION=0.3.9

FROM nginx:${NGINX_VERSION}-alpine

Expand All @@ -17,8 +17,8 @@ COPY overfast-api.conf /etc/nginx/conf.d/default.conf
# Download nginx and ngx_http_redis sources
RUN wget https://nginx.org/download/nginx-$NGINX_VERSION.tar.gz && \
tar -xzvf nginx-$NGINX_VERSION.tar.gz && \
wget http://people.freebsd.org/~osa/ngx_http_redis-$NGX_HTTP_REDIS_VERSION.tar.gz && \
tar -xzvf ngx_http_redis-$NGX_HTTP_REDIS_VERSION.tar.gz
wget https://github.com/TeKrop/ngx_http_redis/archive/refs/tags/v$NGX_HTTP_REDIS_VERSION.tar.gz && \
tar -xzvf v$NGX_HTTP_REDIS_VERSION.tar.gz

# Download build dependencies
RUN apk add build-base linux-headers pcre-dev openssl-dev zlib-dev
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "overfast-api"
version = "2.29.4"
version = "2.30.0"
description = "Overwatch API giving data about heroes, maps, and players statistics."
license = "MIT"
authors = ["Valentin PORCHET <valentin.porchet@proton.me>"]
Expand Down

0 comments on commit e9cdf0e

Please sign in to comment.