banning content from a multiuser web server
Guillaume Quintard
guillaume at varnish-software.com
Wed Jan 2 12:01:37 UTC 2019
(this was in my spam folder)
Hi,
I think I would create a script that would link an SSH/user account to a
domain, and then do "varnishadm ban req.http.host == $DOMAIN" (no ban
lurker-friendly, but you get the idea)
--
Guillaume Quintard
On Thu, Nov 29, 2018 at 8:20 PM Miguel González <miguel_3_gonzalez at yahoo.es>
wrote:
> Hi,
>
> I do have a Cpanel server with Wordpress sites. Varnish plugin is
> working fine but some users do have non-Wordpress websites and sometimes
> they want to purge the whole website and currently I have to do it as root.
>
> How can I ban a domain within the SSH user account and make sure it
> only purges the domains that are hosted in his account?
>
> Regards,
>
> Miguel
>
>
> ---
> This email has been checked for viruses by AVG.
> https://www.avg.com
>
> _______________________________________________
> varnish-misc mailing list
> varnish-misc at varnish-cache.org
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20190102/e8acfc31/attachment-0001.html>
More information about the varnish-misc
mailing list