Static serving of jQuery and related files - reg.

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Static serving of jQuery and related files - reg.

muthu.kc
Hi All!

I would like to move jQuery and related files out of the image have them served directly by Nginx. How do I go about doing that?

Thanks in advance.

Muthu




_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Static serving of jQuery and related files - reg.

Conrad Taylor
On Sun, May 24, 2009 at 2:47 AM, muthu kutti <[hidden email]> wrote:
Hi All!

I would like to move jQuery and related files out of the image have them served directly by Nginx. How do I go about doing that?

Thanks in advance.

Muthu


Hi, I would recommend reading the following:


Good luck,

-Conrad


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Static serving of jQuery and related files - reg.

Pat Maddox-2
In reply to this post by muthu.kc
Hi,

http://pastie.org/488614 is an apache vhost config I have.  The basic
idea is that you put your static resources in some dir and set the
webserver to serve out of there, and then use your server's mod_proxy
to check each request path and serve the file if one's there or proxy
it to seaside if there's no file there.  I haven't done it with
seaside/nginx but you can google for rails/nginx setups because they
work the same way.

Pat

On Sun, May 24, 2009 at 2:47 AM, muthu kutti <[hidden email]> wrote:

> Hi All!
>
> I would like to move jQuery and related files out of the image have them
> served directly by Nginx. How do I go about doing that?
>
> Thanks in advance.
>
> Muthu
>
>
>
>
> _______________________________________________
> seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Static serving of jQuery and related files - reg.

SeanTAllen
If you are using the latest version of nginx, you can use the try files
directive. It greatly simplifies most of the rails/nginx setups you  
will find by googling.

On May 24, 2009, at 9:26 PM, Pat Maddox wrote:

> Hi,
>
> http://pastie.org/488614 is an apache vhost config I have.  The basic
> idea is that you put your static resources in some dir and set the
> webserver to serve out of there, and then use your server's mod_proxy
> to check each request path and serve the file if one's there or proxy
> it to seaside if there's no file there.  I haven't done it with
> seaside/nginx but you can google for rails/nginx setups because they
> work the same way.
>
> Pat
>
> On Sun, May 24, 2009 at 2:47 AM, muthu kutti <[hidden email]>  
> wrote:
>> Hi All!
>>
>> I would like to move jQuery and related files out of the image have  
>> them
>> served directly by Nginx. How do I go about doing that?
>>
>> Thanks in advance.
>>
>> Muthu
>>
>>
>>
>>
>> _______________________________________________
>> seaside mailing list
>> [hidden email]
>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>
>>
> _______________________________________________
> seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside