On Fri, Mar 28, 2014 at 1:35 PM, Kyle Pennell <[email protected]> wrote:
> Thanks for responding.
>
> Double checking I understand:
>
>    location /static/ {
>             alias  /opt/myenv/mezzanine_app/static/;
>         }
>
> Should be:
>
>    location /static/ {
>             alias  /opt/myenv/mezzanine_app/static;
>         }
>
> Or?
>
>    location /static/ {
>             alias  /opt/myenv/mezzanine_app;
>         }
>
>

You'll want this one assuming the mezz project layout where your
static dir is directly under your messanine_app dir:

    location /static/ {
             alias  /opt/myenv/mezzanine_app;
         }


As far as your error log, it looks like you might need to add the
static ip of your server to ALLOWED_HOSTS in settings. Your app server
is refusing to respond to nginx.

Cheers,
Matt

-- 
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