On Sun, Sep 15, 2019 at 11:22:40AM -0700, Mike Orr wrote: > On Thu, Sep 12, 2019 at 2:13 PM Mikko Ohtamaa <[email protected]> wrote: > > > > > >For static assets and such - they should not be served from WSGI in the > >first place and you can nicely offload this to CloudFlare or similar > >automatically . > > What if they're access-restricted to certain groups of users? I have > my public assets served by Apache (via 'ProxyPass /staic !' and 'Alias > /static /directory') but I serve private ones with 'FilerResponse'.It > would be nice to serve them outside WSGI but nothing else knows about > Pyramid's authorization.
couldn't you use XSendfile / X-Accel? > > -- > You received this message because you are subscribed to the Google Groups > "pylons-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/pylons-discuss/CAH9f%3DurUPMUdLXJg--f35gH0bBuP0SAr4wpr4AkLVQ%3DS%3D_2O8Q%40mail.gmail.com. -- Julien Cigar Belgian Biodiversity Platform (http://www.biodiversity.be) PGP fingerprint: EEF9 F697 4B68 D275 7B11 6A25 B2BB 3710 A204 23C0 No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/pylons-discuss/20190917084211.GG36094%40home.lan.
signature.asc
Description: PGP signature
