I let the load balancers / web servers handle this.

Entering "maintenance mode" just creates a "downtime" file... `touch 
/webserver/controls/downtime`

Leaving maintenance removes it.  

My nginx config handles app requests differently based on the presence of 
these files.


On Tuesday, January 15, 2013 7:00:09 AM UTC-5, Andreas Jung wrote:
>
> -----BEGIN PGP SIGNED MESSAGE----- 
> Hash: SHA1 
>
> Let's assume that we have a Pyramid site with several functional 
> sections. As part of maintenance operations you want to disable a parts 
> of the site e.g. by disallowing all views under a certain certain 
> route/path like /personal-data or so. My vision is having a central 
> place in my application where I can enable/disable the various parts 
> of the application with a click and this should have an immediate effect 
> without reconfiguration of app-servers, reverse proxies etc...any ideas 
> how to do this best with Pyramid? 
>
> Andreas 
>

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/pylons-discuss/-/B2iPCDtuA_EJ.
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