Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -725,7 +725,7 @@ jobs:

- name: Collect Docker Compose logs
if: always()
run: make logs-all-dump env=test > docker-compose.log
run: make logs-all-dump env=batch-test > docker-compose.log

- uses: test-summary/[email protected]
with:
Expand Down
2 changes: 1 addition & 1 deletion docker/compose.development.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
services:
# terminate tls so we don't need to have exceptions in the nginx config file for development
port-expose:
image: nginx:1.27.3-alpine
image: nginx:1.29.1-alpine3.22
networks:
- public-internet
- internal
Expand Down
6 changes: 3 additions & 3 deletions docker/compose.integration-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ services:
# from the internal network to the outside
# also terminate tls so we don't need to have exceptions in the nginx config file for development
port-expose:
image: nginx:1.27.3-alpine
image: nginx:1.29.1-alpine3.22
networks:
- public-internet
- port-expose
Expand Down Expand Up @@ -96,7 +96,7 @@ services:
- $RABBITMQ_GUI

test-target:
image: nginx:1.27.3-alpine
image: nginx:1.29.1-alpine3.22

networks:
public-internet:
Expand Down Expand Up @@ -137,7 +137,7 @@ services:
MH_SMTP_BIND_ADDR: 0.0.0.0:25

static:
image: nginx:1.27.3-alpine
image: nginx:1.29.1-alpine3.22

restart: unless-stopped

Expand Down
2 changes: 1 addition & 1 deletion docker/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ services:
- nginx-logs-exporter:/var/log/nginx/prometheus-nginxlog-exporter/

healthcheck:
test: ["CMD", "service", "nginx", "status"]
test: ["CMD", "curl", "-ksSo/dev/null", "https://$INTERNETNL_DOMAINNAME", "--resolve", "$INTERNETNL_DOMAINNAME:443:127.0.0.1"]
interval: $HEALTHCHECK_INTERVAL
start_interval: $HEALTHCHECK_START_INTERVAL
start_period: 1m
Expand Down
11 changes: 6 additions & 5 deletions docker/webserver.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
FROM nginx:1.27.3
FROM nginx:1.29.1-alpine3.22

RUN apt-get update && apt-get install -y \
RUN apk add --no-cache \
# for random quic host key
openssl \
# for htpasswd
apache2-utils \
# for gixy install
python3-venv \
&& rm -rf /var/lib/apt/lists/*
# for gixy and certbot install
python3

# install nginx config static analysis tool
RUN python3 -m venv /opt/gixy
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,6 @@ resolver 127.0.0.11 ipv6=off valid=5s;

root /var/www/internet.nl;

# enable OSCP stapling
ssl_stapling on;
ssl_stapling_verify on;
ssl_protocols TLSv1.2 TLSv1.3;
ssl_ciphers ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305;

http2 on;
http3 on;
quic_gso on;
Expand Down
2 changes: 0 additions & 2 deletions docker/webserver/nginx_templates/letsencrypt.conf.template

This file was deleted.

8 changes: 8 additions & 0 deletions docker/webserver/nginx_templates/tls.conf.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# If certificate has OCSP, enable the ssl_stapling
#ssl_stapling on;
#ssl_stapling_verify on;
ssl_protocols TLSv1.2 TLSv1.3;
ssl_ciphers TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384:TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384:TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256:TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256:TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256:TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256;
ssl_ecdh_curve SecP384r1MLKEM1024:X25519MLKEM768:SecP256r1MLKEM768:secp521r1:brainpoolP512r1:x448:brainpoolP384r1:secp384r1:x25519:secp256r1:brainpoolP256r1;
ssl_certificate /etc/letsencrypt/live/${INTERNETNL_DOMAINNAME}/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/${INTERNETNL_DOMAINNAME}/privkey.pem;
3 changes: 1 addition & 2 deletions integration_tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,7 @@ def register_test_user(unique_id):

# reload nginx
command = (
f'docker compose --ansi=never --project-name "{COMPOSE_PROJECT_NAME}"'
" exec webserver service nginx reload"
f'docker compose --ansi=never --project-name "{COMPOSE_PROJECT_NAME}"' " exec webserver nginx -s reload"
)
subprocess.check_call(command, shell=True, universal_newlines=True)

Expand Down
Loading