Even if I go to this url directly:

http://jeniawebsitetesting.com/static/media/uploads/product/.thumbnails/monitors.png/monitors-148x148.png

I still get redirected to:
http://jeniawebsitetesting.com/static/media/uploads/product/.thumbnails/monitors.png/monitors-148x148.png/index.html


I don't understand this behaviour. How do I use it correctly? I mean, it's 
impossible that index.html should be appended to each url and a redirect 
issued. Something must be wrong.

On Sunday, September 24, 2017 at 12:01:48 PM UTC-4, jenia mtl wrote:
>
> Hello everyone.
>
> I'm having trouble deploying the app to my server:
>
>
>    http://jeniawebsitetesting.com/shop/
>
>
> As you can see, I'm missing all the static files.
>
>
> I get in the error.log:
>
>     
>     2017/09/24 11:53:40 [error] 21769#21769: *11 
> "/srv/http/store/store00/static/js/bootstrap.js/*index.html*" is not 
> found (2: No such file or directory), client: 178.203.185.227, server: =, 
> request: "GET /static/js/bootstrap.js/ HTTP/1.1", host: "
> jeniawebsitetesting.com", referrer: "http://jeniawebsitetesting.com/shop/";
>
>
> Here is more of the log: http://dpaste.com/075RTQD
>
>
> What is that index.html doing there at the end? I don't get it.
>
> Here is my nginx config: http://dpaste.com/3CQXD9D
>
> Here is my urls.py: http://dpaste.com/1GYHK3F
>
> And here is my file structure:
>
>     ls -l /srv/http/store/store00/static/media
>
>     drwxr-xr-x 3 jenia jenia 4096 Sep 24 11:28 product
>     drwxr-xr-x 4 jenia jenia 4096 Sep 24 11:28 uploads
>
>
> Can someone tell me, how do I configure the routing in nginx/urls.py to be 
> able to successfully serve the static file?
>
> Thanks
> Jenia
>

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to