Add nginx reverse proxy with Let's Encrypt SSL

- nginx as reverse proxy for dawarich frontend
- Let's Encrypt certificate support with automatic renewal
- HTTP to HTTPS redirect, gzip compression
- Bootstrap config for initial certificate request

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-02-14 11:19:07 +01:00
commit ab278da5fe
6 changed files with 329 additions and 0 deletions

7
nginx/Dockerfile Normal file
View File

@@ -0,0 +1,7 @@
FROM nginx:alpine
RUN apk add --no-cache certbot
COPY nginx.conf /etc/nginx/templates/nginx.conf
COPY nginx-bootstrap.conf /etc/nginx/templates/nginx-bootstrap.conf
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]