Expires Headers under https

Hey all,
I’m having a Nginx problem with my Rails app. When I try setting
Expires Headers for Static Assets in an https server block they 404.
I’ve
tried a couple different ways but can’t seem to get it to work. Here a
gist of what I’ve tried. Any suggestions?

https://gist.github.com/2896294

Much appreciated


Chris I.
Burst Software
Rails Web D.

w: www.christopherirish.com
http://www.christopherirish.come: [email protected]
c: 623-523-2221

Hello!

On Fri, Jun 08, 2012 at 08:48:44AM -0700, Chris I. wrote:

Hey all,
I’m having a Nginx problem with my Rails app. When I try setting
Expires Headers for Static Assets in an https server block they 404. I’ve
tried a couple different ways but can’t seem to get it to work. Here a
gist of what I’ve tried. Any suggestions?

https://gist.github.com/2896294

Most likely you are hitting this “problem”:

Can’t say for sure as you’ve “ommitted the non relevant config
parts for clarity”.

Maxim D.