7

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?

giallu
  • 152
  • 1
  • 7
  • See this question on SF: [How to serve static files on OpenShift Python cartridge](http://serverfault.com/q/671274/104579) – Flimm Dec 18 '15 at 08:56

1 Answers1

5

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.

Flimm
  • 136,138
  • 45
  • 251
  • 267
errno
  • 96
  • 4
  • 1
    Yeah, it works as before, so I had to create the missing directory. I guess this will need some work to add support in a customizable way – giallu Apr 13 '14 at 15:22