J2R
November 20, 2011 04:18PM
I have spent 2 hours trying to get to the bottom of a problem and am
utterly stumped. I am certain it must be something I'm doing wrong, and
NOT an nginx problem, but I can't think for the life of me what it might
be. What is happening is that nginx is serving up a version of a CSS
file which I overwrote a couple of hours ago. It's version 0.7.65
running on Linux. I have a CSS file called temp.css, which I have in the
/css folder below the root of a virtual host called kf.dev. If I look in
the folder and view the file with less, I can see it's the correct one.
But when I do 'wget http://kf.dev/css/temp.css' I get an old version. In
fact, when I try in Firefox to see a page which uses this css file, it
doesn't display properly and when I click on the CSS link in View
Source, I see the old version with what appears to be a load of binary
characters at the bottom (they display as little question marks against
black diamonds). As I say, I am completely stumped. Where could nginx be
getting this from? I have determined that there is in fact only one file
actually called this on the hard drive, so it can't be finding the wrong
copy of the file. I'm beginning to think this might be some weird
operating system level corruption. Possible?

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

nginx serving old version of CSS file

J2R November 20, 2011 04:18PM

Re: nginx serving old version of CSS file

Joshua Zhu November 21, 2011 12:32AM

Re: nginx serving old version of CSS file - SOLVED(ish)

J2R November 21, 2011 04:36AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 204
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready