Initial commit
Some checks are pending
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/cron/woodpecker Pipeline is pending

This commit is contained in:
nemunaire 2024-02-12 16:57:46 +01:00
commit 7bfd6a79e9
6 changed files with 331 additions and 0 deletions

15
Dockerfile Normal file
View file

@ -0,0 +1,15 @@
FROM alpine AS dhparams
RUN apk add --no-cache openssl && \
openssl dhparam -out /etc/ssl/dh4096.pem 4096
FROM nginx:stable-alpine
RUN apk add --no-cache nftables nftables-openrc
COPY --from=dhparams /etc/ssl/dh4096.pem /etc/nginx/dh4096.pem
ADD firewall.sh /docker-entrypoint.d/05-firewall.sh
ADD nftables.conf /etc/conf.d/nftables
ADD nftables.nft /etc/nftables.nft
ADD nginx.conf /etc/nginx/nginx.conf