automatically select "use" event

This commit is contained in:
Zoey
2024-02-12 00:50:10 +01:00
parent 02e55320d0
commit e666935cd9
3 changed files with 2 additions and 7 deletions

View File

@@ -1,3 +1,4 @@
# syntax=docker/dockerfile:labs
FROM --platform="$BUILDPLATFORM" alpine:3.19.1 as frontend
COPY frontend /build/frontend
COPY global/certbot-dns-plugins.json /build/frontend/certbot-dns-plugins.json
@@ -55,7 +56,7 @@ RUN apk upgrade --no-cache -a && \
echo "#APPSEC_FAILURE_ACTION=deny # see https://github.com/crowdsecurity/lua-cs-bouncer/issues/63" | tee -a /src/crowdsec-nginx-bouncer/lua-mod/config_example.conf && \
sed -i "s|BOUNCING_ON_TYPE=all|BOUNCING_ON_TYPE=ban|g" /src/crowdsec-nginx-bouncer/lua-mod/config_example.conf
FROM zoeyvid/nginx-quic:258
FROM zoeyvid/nginx-quic:259
SHELL ["/bin/ash", "-eo", "pipefail", "-c"]
ARG CRS_VER=v4.0/dev

View File

@@ -91,10 +91,6 @@ so that the barrier for entry here is low.
- See the composefile for all available options
- If you want to redirect all HTTP traffic to HTTPS, you can use the `compose.override.yaml` file.
## Soon
- maybe redis and/or sql databases built in
- more
## migration
- **NOTE: migrating back to the original is not possible**, so make first a **backup** before migration, so you can use the backup to switch back
- if you use custom certificates, you need to upload the CA/Intermediate Certificate (file name: `chain.pem`) in the `/opt/npm/tls/custom/npm-[certificate-id]` folder

View File

@@ -9,8 +9,6 @@ worker_cpu_affinity auto;
include /data/nginx/custom/root.conf;
events {
use epoll;
# Custom
include /data/nginx/custom/events.conf;
}