Welcome! Log In Create A New Profile

Advanced

Re: static files and 404

Cliff Wells
March 19, 2009 04:44PM
On Thu, 2009-03-19 at 13:21 -0700, Cliff Wells wrote:


Oops, should be

- location ~ /images/subassets/*.gif {
+ location ~ /images/subassets/*.\.gif$ {

> root /path/to/root;
> }
>
> location / {
> root /path/to/root;
> error_page 404 = @rails;
> }
>
> location @rails {
> proxy_pass http://domain.com;
> }
>
> If you don't want *anything* from the subassets folder (not just gifs)
> to be passed to Rails, then just use
>
> location /images/subassets {
> root /path/to/root;
> }
>
> Cliff
>
Subject Author Posted

static files and 404

Marcelo Barbudas March 19, 2009 02:38PM

Re: static files and 404

Nick Pearson March 19, 2009 02:47PM

Re: static files and 404

Merlin March 19, 2009 03:39PM

Re: static files and 404

Igor Sysoev March 19, 2009 04:53PM

Re: static files and 404

Igor Sysoev March 19, 2009 04:52PM

Re: static files and 404

Marcelo Barbudas March 19, 2009 08:00PM

Re: static files and 404

Cliff Wells March 19, 2009 04:43PM

Re: static files and 404

Cliff Wells March 19, 2009 04:44PM

Re: static files and 404

Cliff Wells March 19, 2009 04:53PM

Re: static files and 404

Igor Sysoev March 19, 2009 05:01PM

Re: static files and 404

Marcelo Barbudas March 19, 2009 07:39PM

Re: static files and 404

Merlin March 19, 2009 08:14PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 159
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready