Re: [mezzanine-users] Can't figure out why my Static Files won't load

2014-04-01 Thread Kyle Pennell
Hey Jesse, Thanks for looking over this. Ok, so you had to change it to an actual domain then? Did you do the whole DNS redirect and everything to setup that domain with your digital ocean IP? On Monday, March 31, 2014 11:58:43 PM UTC-6, Jesse Carrigan wrote: Rather than the IP address of

Re: [mezzanine-users] Can't figure out why my Static Files won't load

2014-04-01 Thread Jesse Carrigan
Correct, my DNS records on Digital Ocean are set up as follows (I'm faking some of the information here): example.com A record: @ 192.168.123.123 NS: NS1.DIGITALOCEAN.COM NS: NS2.DIGITALOCEAN.COM NS: NS3.DIGITALOCEAN.COM example.com is in the ALLOWED_HOSTS list. It sounds like you may not have

Re: [mezzanine-users] Can't figure out why my Static Files won't load

2014-04-01 Thread Jesse Carrigan
I don't have it on github, but it basically follows the pattern of the deploy/ngnix.conf file in the mezzanine project. Here's what it looks like: upstream example {server 127.0.0.1:8001;}server {listen 80;listen 443 ssl;server_name example.com;client_max_body_size

Re: [mezzanine-users] Can't figure out why my Static Files won't load

2014-04-01 Thread Kyle Pennell
I'm going to try Fabric next. I was trying to the Digital Ocean Tuts to try to get this but no dice. On Tue, Apr 1, 2014 at 1:38 PM, Jesse Carrigan jesse.m.carri...@gmail.comwrote: Just out of curiosity, are you using fabric to deploy your site or are you editing the config by hand? Also, a

Re: [mezzanine-users] Can't figure out why my Static Files won't load

2014-03-31 Thread Kyle Pennell
This is on Digital Ocean. How would I check out firewall related issues? On Saturday, March 29, 2014 2:00:08 AM UTC-6, Luc Milland wrote: could this be firewall related ? Le vendredi 28 mars 2014 à 18:20 -0700, Kyle Pennell a écrit : First off, thanks so much for taking the time to

Re: [mezzanine-users] Can't figure out why my Static Files won't load

2014-03-31 Thread Jesse Carrigan
Rather than the IP address of the host, have you tried your live hostname (e.g. www.example.com or example.com)? My sites are hosted on Digital Ocean and that's what needed to be in the ALLOWED_HOSTS list. Same for the server_name in the ngnix configs. -- You received this message because you

Re: [mezzanine-users] Can't figure out why my Static Files won't load

2014-03-28 Thread Kyle Pennell
Tried each combo and none worked...hmmm... On Friday, March 28, 2014 12:35:39 PM UTC-6, Kyle Pennell wrote: Thanks for responding. Double checking I understand: location /static/ { alias /opt/myenv/mezzanine_app/static/; } Should be: location /static/ {

Re: [mezzanine-users] Can't figure out why my Static Files won't load

2014-03-28 Thread Kyle Pennell
*Nginx Error Log:* 2014/03/28 12:16:12 [error] 13768#0: *27 connect() failed (111: Connection refused) while connecting to upstream, client: 61.135.190.70, server: 107.170.215.138:8001, request: GET *Now to try to figure out what these are saying:* 2014/03/28 07:12:58 [error] 13768#0: *8

[mezzanine-users] Can't figure out why my Static Files won't load

2014-03-27 Thread Kyle Pennell
Triple checked my settings and can't find why my static files aren't loading. Nginx and Gunicorn are installed and working. Symbolic Link between sites-available and sites-enabled is made ── sites-available │ ├── mezzanine_app │ └── myproject ├── sites-enabled │ ├── ahalearning -

Re: [mezzanine-users] Can't figure out why my Static Files won't load

2014-03-27 Thread Stephen McDonald
On Fri, Mar 28, 2014 at 8:46 AM, Kyle Pennell kpenn...@gmail.com wrote: Triple checked my settings and can't find why my static files aren't loading. Nginx and Gunicorn are installed and working. Symbolic Link between sites-available and sites-enabled is made ── sites-available │ ├──

Re: [mezzanine-users] Can't figure out why my Static Files won't load

2014-03-27 Thread Kyle Pennell
Ah! Will try pulling that out. Thanks for the help, Stephen. On Thu, Mar 27, 2014 at 5:28 PM, Stephen McDonald st...@jupo.org wrote: On Fri, Mar 28, 2014 at 8:46 AM, Kyle Pennell kpenn...@gmail.com wrote: Triple checked my settings and can't find why my static files aren't loading.

Re: [mezzanine-users] Can't figure out why my Static Files won't load

2014-03-27 Thread Matthew Summers
Remove the trailing slash on your location alias directive. On Thu, Mar 27, 2014 at 6:32 PM, Kyle Pennell kpenn...@gmail.com wrote: Ah! Will try pulling that out. Thanks for the help, Stephen. On Thu, Mar 27, 2014 at 5:28 PM, Stephen McDonald st...@jupo.org wrote: On Fri, Mar 28, 2014