Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey guys,
I am having an issue that ive been trying to figure out for an entire day. I cannot get media to work at all unless I enable development mode. Images will not load up even though they are saving in the docker folder. They seem to just not read. Here are my configs:
Docker compose
`services:
pretalx:
image: pretalx/standalone:latest
build: .
volumes:
data:
public:`
`[filesystem]
use PRETALX_FILESYSTEM_* env vars
[site]
debug = False
url = https://schedule.MYDOMAIN.com
[database]
backend = postgresql
name = DBNAME
user = DBNAMEUSER
password = PWORD
host = MYHOST
port = PORT
[mail]
from = FROM NAME
host = EMAIL HOST
port = PORT
user = EMAIL@EMAIL.com
password = PASSWORD
tls = True
#ssl = True
[celery]
backend = redis://default:REDISPASSWORD@172.17.0.1:6379/6
broker = redis://default:REDISPASSWORD@172.17.0.1:6379/7
[redis]
location=redis://default:REDISPASSWORD@172.17.0.1:6379/8
; Remove the following line if you are unsure about your redis' security
; to reduce impact if redis gets compromised.
sessions=true`
NGINX CONFIG - 1st revision
NGINX CONFIG - 2nd Revision
Also tried entering the following in the cfg file
[filesystem]
data = /data
logs = /data/logs
media = /public/media
static = /public/static
With these, I get a 404 error for all media. What is the correction solution here?
Beta Was this translation helpful? Give feedback.
All reactions