Files
dawaric-nginx-ssl/nginx/Dockerfile
elpatron ab278da5fe 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>
2026-02-14 11:19:07 +01:00

8 lines
257 B
Docker

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"]