Re: admin media permission error on Nginx, can anyone help

2010-12-27 Thread easylancer
Did you try my config? I have never had any problems with css not loading in admin with that config. Make sure you clear your cache once you change the config and remember to reload nginx. On Dec 27, 3:21 pm, Footee wrote: > Thnx for reply but my problem is: > > nginx can locate and open the sour

Re: admin media permission error on Nginx, can anyone help

2010-12-27 Thread Footee
Thnx for reply but my problem is: nginx can locate and open the sources in site_media/static/ & site_media/media/ corrected but can not open the sources in site_media/admin (from the message in nginx error_log) the xxx.xxx.xxx.xxx/admin looked wired without css. On Dec 27, 9:56 pm, easylancer

Re: admin media permission error on Nginx, can anyone help

2010-12-27 Thread easylancer
I server up my django apps on nginx using the following config file server { listen 80; server_name domain.com; root /location/of/application access_log /location/to/logs/application.access.log; error_log /location/to/logs/application.error.log;

admin media permission error on Nginx, can anyone help

2010-12-27 Thread Footee
in these days, i try to build the django on my host, But the http://xxx.xxx.xxx.xxx/admin can't get the default css. the nginx catch these errors: 2010/12/27 04:45:26 [error] 24442#0: *76 open() "/home/peng/jiangyo/ site_media/admin/css/base.css" failed (13: Permission denied), client: 124.42.77.