Rename MEDIA_PATH to MEDIA_FULL_URL and handle protocol

This commit is contained in:
Joachim
2021-06-19 17:09:53 +02:00
parent 582c2d4f25
commit dee63d8825
5 changed files with 17 additions and 15 deletions

View File

@ -3,6 +3,7 @@ SECRET_KEY="7(2w1sedok=aznpq)ta1mc4i%4h=xx@hxwx*o57ctsuml0x%fr"
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG=true
USE_HTTPS=false
DOMAIN=your.domain.here
#EMAIL=your@email.here
@ -42,9 +43,6 @@ EMAIL_HOST_PASSWORD=emailpassword123
EMAIL_USE_TLS=true
EMAIL_USE_SSL=false
# Set this to true when initializing certbot for domain, false when not
CERTBOT_INIT=false
# S3 configuration
# Commented are example values if you use Scaleway instead of AWS
USE_S3=false