mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2025-04-26 17:56:16 -04: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:
parent
bdb9cb42d9
commit
29735ff617
4 changed files with 66 additions and 12 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue