简体   繁体   中英

Serving Django static files in OpenShift

According to the March 2014 blog post , OpenShift now got rid of some directories like wsgi/, wsgi/static/, data/ and libs/.

Given I used wsgi/static for this purpose, how I am supposed to serve django static files from now on?

According to openshift.conf.erb , it seems like it checks if you have a $OPENSHIFT_REPO_DIR/wsgi/static directory and it keeps it working. I haven't verified that this works, but it looks like it should.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM