[bitnami/nginx] Release 1.29.1-debian-12-r2 (#86942)

Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>
This commit is contained in:
Bitnami Bot
2025-10-07 04:29:19 +02:00
committed by GitHub
parent 721bad7a7f
commit 9dab75e199
3 changed files with 18 additions and 8 deletions

View File

@@ -7,7 +7,7 @@ ARG DOWNLOADS_URL="downloads.bitnami.com/files/stacksmith"
ARG TARGETARCH
LABEL org.opencontainers.image.base.name="docker.io/bitnami/minideb:bookworm" \
org.opencontainers.image.created="2025-09-07T01:59:06Z" \
org.opencontainers.image.created="2025-10-07T02:16:08Z" \
org.opencontainers.image.description="Application packaged by Broadcom, Inc." \
org.opencontainers.image.documentation="https://github.com/bitnami/containers/tree/main/bitnami/nginx/README.md" \
org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/nginx" \
@@ -52,7 +52,7 @@ COPY rootfs /
RUN /opt/bitnami/scripts/nginx/postunpack.sh
ENV APP_VERSION="1.29.1" \
BITNAMI_APP_NAME="nginx" \
IMAGE_REVISION="1" \
IMAGE_REVISION="2" \
NGINX_HTTPS_PORT_NUMBER="" \
NGINX_HTTP_PORT_NUMBER="" \
PATH="/opt/bitnami/common/bin:/opt/bitnami/nginx/sbin:$PATH"

View File

@@ -259,6 +259,8 @@ generate_systemd_conf() {
local success_exit_status=""
local custom_service_content=""
local working_directory=""
local timeout_start_sec="2min"
local timeout_stop_sec="30s"
# Parse CLI flags
shift
while [[ "$#" -gt 0 ]]; do
@@ -277,6 +279,8 @@ generate_systemd_conf() {
| --success-exit-status \
| --custom-service-content \
| --working-directory \
| --timeout-start-sec \
| --timeout-stop-sec \
)
var_name="$(echo "$1" | sed -e "s/^--//" -e "s/-/_/g")"
shift
@@ -402,8 +406,8 @@ EOF
fi
cat >> "$service_file" <<EOF
# Optimizations
TimeoutStartSec=2min
TimeoutStopSec=30s
TimeoutStartSec=${timeout_start_sec}
TimeoutStopSec=${timeout_stop_sec}
IgnoreSIGPIPE=no
KillMode=mixed
EOF

View File

@@ -125,7 +125,7 @@ The default `nginx.conf` includes server blocks placed in `/opt/bitnami/nginx/co
For example, in order add a server block for `www.example.com`:
## Step 1: Write your `my_server_block.conf` file with the following content
#### Step 1: Write your `my_server_block.conf` file with the following content
```nginx
server {
@@ -136,7 +136,7 @@ server {
}
```
## Step 2: Mount the server block as a volume
#### Step 2: Mount the server block as a volume
```console
docker run --name nginx \
@@ -200,7 +200,7 @@ docker run --name nginx \
Similar to server blocks, you can include server blocks for the [NGINX Stream Core Module](https://nginx.org/en/docs/stream/ngx_stream_core_module.html) mounting them at `/opt/bitnami/nginx/conf/stream_server_blocks/`. In order to do so, it's also necessary to set the `NGINX_ENABLE_STREAM` environment variable to `yes`.
## Step 1: Write your `my_stream_server_block.conf` file with the following content
#### Step 1: Write your `my_stream_server_block.conf` file with the following content
```nginx
upstream backend {
@@ -219,7 +219,7 @@ server {
}
```
## Step 2: Mount the stream server block as a volume
#### Step 2: Mount the stream server block as a volume
```console
docker run --name nginx \
@@ -414,6 +414,12 @@ services:
...
```
### FIPS configuration in Bitnami Secure Images
The Bitnami NGINX Open Source Docker image from the [Bitnami Secure Images](https://www.arrow.com/globalecs/uk/products/bitnami-secure-images/) catalog includes extra features and settings to configure the container with FIPS capabilities. You can configure the next environment variables:
- `OPENSSL_FIPS`: whether OpenSSL runs in FIPS mode or not. `yes` (default), `no`.
## Reverse proxy to other containers
NGINX can be used to reverse proxy to other containers using Docker's linking system. This is particularly useful if you want to serve dynamic content through an NGINX frontend. To do so, [add a server block](#adding-custom-server-blocks) like the following in the `/opt/bitnami/nginx/conf/server_blocks/` folder: