CSS won't load in Firefox
Redd Vinylene
reddvinylene at gmail.com
Wed Jul 30 00:13:05 MSD 2008
sorry, it seemed to be these two lines after all
include /usr/local/etc/nginx/mime.types;
default_type application/octet-stream;
many thanks guys!
On Tue, Jul 29, 2008 at 10:01 PM, Redd Vinylene <reddvinylene at gmail.com> wrote:
> it works just fine in ie. and in firefox when the production
> environment is development.
>
> production.log and nginx-error.log shows no signs of an error...
>
> i had the exact same problem with apache a while back, and loading the
> mime module fixed it.
>
> On Tue, Jul 29, 2008 at 9:40 PM, Corey Donohoe <atmos at atmos.org> wrote:
>> On Tue, Jul 29, 2008 at 1:30 PM, Redd Vinylene <reddvinylene at gmail.com> wrote:
>>> hello, i just set up my first ever rails+nginx+mongrel and it's looking sweet!
>>>
>>> here's nginx.conf http://pastie.org/243487
>>>
>>> the problem is though, my css file won't load in firefox. i tried
>>> including include /usr/local/etc/nginx/mime.types; but it didn't make
>>> a difference...
>>>
>>
>> Nothing strikes me as incorrect with your config. Are you getting
>> 404s in your logs and/or have you tried enabling error logging to get
>> a little more info? My hunch is incorrect paths in your markup.
>>
>>
>> --
>> Corey Donohoe
>> http://www.atmos.org/
>> http://www.engineyard.com/
>>
>>
>
More information about the nginx
mailing list