- 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>
8 lines
257 B
Docker
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"]
|