add alert if corruption of files can not be checked and add optional nginx config for http to https redirect; always show preview of first file if image;

This commit is contained in:
schlagmichdoch 2023-01-18 15:34:11 +01:00
parent bdb9cb42d9
commit 29735ff617
4 changed files with 66 additions and 12 deletions

View file

@ -15,9 +15,11 @@ services:
image: "nginx-with-openssl"
volumes:
- ./public:/usr/share/nginx/html
- ./docker/nginx/default.conf:/etc/nginx/conf.d/default.conf
- ./docker/certs:/etc/ssl/certs
- ./docker/openssl:/mnt/openssl
# Use production.conf instead of development.conf to redirect http to https (/ca.crt still available)
- ./docker/nginx/development.conf:/etc/nginx/conf.d/default.conf
# - ./docker/nginx/production.conf:/etc/nginx/conf.d/default.conf
ports:
- "8080:80"
- "8443:443"