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:
7
nginx/Dockerfile
Normal file
7
nginx/Dockerfile
Normal 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"]
|
||||
Reference in New Issue
Block a user