@klawitterb Oh I see, good point, that part escaped my notice. Mediafiles are directly served by nginx and only the rest is forwarded to Gunicorn.
#serve media files
location /media/ {
alias /app/data/mediafiles/;
}
# pass requests for dynamic content to gunicorn
location / {
proxy_set_header Host $http_host;
proxy_pass http://localhost:8080; # -> this gos to Gunicorn
}
So with the Cloudron Nginx, static files would still be served from Gunicorn. SO I guess, it is worth the effort
Thanks for that.