boekkooi / openshift-cartridge-nginx

43 stars 36 forks source link

Navigation to subdirectories does not happen #13

Closed arnabdas closed 8 years ago

arnabdas commented 8 years ago

Hi,

We have created one app: http://site-dreammaker.rhcloud.com/blog, in Openshift, using this cartridge configuration. But whenever I'm trying to go any sub-directory (eg. http://site-dreammaker.rhcloud.com/blog), Openshift redirects towards port url: http://site-dreammaker.rhcloud.com:8080/blog/. Though the sub-directory contains an index.html file.

Please help me, to overcome this issue.

Thanks & regards, Arnab

boekkooi commented 8 years ago

Hi @arnabdas,

Could you please provide the .openshift/nginx.conf.erb that you use in your repository?

If you do not have this file yet you can use conf/nginx_http.conf.erb as the starting point.