mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2026-04-05 17:33:49 +00:00
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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user