Skip to content

Commit

Permalink
fix: reverse_proxy build compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
moroine committed Jan 18, 2024
1 parent 0ff7cae commit db1a946
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 9 deletions.
2 changes: 1 addition & 1 deletion products/api/env.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[all:vars]
reverse_proxy_version=1.4.1
reverse_proxy_version=1.4.3
fluentd_version=1.4.3
product_name=api
repo=mission-apprentissage/api-apprentissage
Expand Down
2 changes: 1 addition & 1 deletion products/bal/env.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[all:vars]
reverse_proxy_version=1.4.1
reverse_proxy_version=1.4.3
fluentd_version=1.4.3
product_name=bal
repo=mission-apprentissage/bal
Expand Down
2 changes: 1 addition & 1 deletion products/lba/env.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[all:vars]
reverse_proxy_version=1.4.1
reverse_proxy_version=1.4.3
fluentd_version=1.4.3
product_name=lba
repo=mission-apprentissage/labonnealternance
Expand Down
2 changes: 1 addition & 1 deletion products/monitoring/env.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[all:vars]
reverse_proxy_version=1.4.2
reverse_proxy_version=1.4.3
fluentd_version=1.4.3
product_name=monitoring
repo=mission-apprentissage/monitoring
Expand Down
2 changes: 1 addition & 1 deletion products/tdb/env.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[all:vars]
reverse_proxy_version=1.4.1
reverse_proxy_version=1.4.3
fluentd_version=1.4.3
product_name=tdb
repo=mission-apprentissage/flux-retour-cfas
Expand Down
2 changes: 1 addition & 1 deletion products/tmpl/env.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[all:vars]
reverse_proxy_version=1.4.1
reverse_proxy_version=1.4.3
fluentd_version=1.4.3
product_name=tmpl
repo=mission-apprentissage/template-apprentissage
Expand Down
2 changes: 1 addition & 1 deletion products/vpn/env.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[all:vars]
reverse_proxy_version=1.4.1
reverse_proxy_version=1.4.3
fluentd_version=1.4.3
product_name=vpn
repo=mission-apprentissage/vpn
Expand Down
9 changes: 7 additions & 2 deletions reverse_proxy/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,17 @@ RUN set -eux; \
g++ \
git \
libcurl4-gnutls-dev \
libfuzzy-dev \
libgeoip-dev \
liblua5.3-dev \
libpcre++-dev \
libpcre3-dev \
libpcre2-dev \
libtool \
libxml2-dev \
libyajl-dev \
make \
patch \
pkg-config \
ruby \
pkg-config \
zlib1g-dev; \
Expand All @@ -37,7 +42,7 @@ RUN set -eux; \
strip objs/ngx_http_headers_more_filter_module.so; \
cp objs/ngx_http_headers_more_filter_module.so /etc/nginx/modules/;

FROM owasp/modsecurity-crs:3.3.4-nginx-202303180303
FROM owasp/modsecurity-crs:3.3.5-nginx-202401080101

COPY --from=nginxModules /etc/nginx/modules/ngx_http_headers_more_filter_module.so /etc/nginx/modules/ngx_http_headers_more_filter_module.so

Expand Down

0 comments on commit db1a946

Please sign in to comment.