On Tue, Oct 27, 2009 at 12:47 PM, Jonathan Vanasco
<[email protected]> wrote:
>
> many people serve moderately trafficked sites through paster, myself
> included.
>
> the two things you'd need to do are:
>
> 1- Make a shell script to handle startup / shutdown
> 2- install something like nginx on port 80 , and have that handle the
> static files or file directories ( js / css /images / etc ); then just
> proxy everything else to paster

He was asking about using Paster alone without a webserver.  Yes, you
can do this.  There are three reasons most people use Apache or Nginx:

1. To use its features: SSL, virtual hosts, rewriting, authentication,
fast static files, caching, etc.
2. Apache is very widely used and has a long track record, so many
people feel safer about letting it handle SSL.
3. Apache can clean up misformatted requests from substandard user
agents, which might inconvenience or crash the Paster routine.

I use Paster with ProxyPass, and run it under Supervisor rather than
using a startup script.

-- 
Mike Orr <[email protected]>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to