Ori I have a quick question. Would there be any way to have a quick method of switching PHP versions, specifically for testing purposes? Like "vagrant enable-role php5.4" or maybe it'd have it's own command.
That way it's easy to test compatibility with other versions. *-- * *Tyler Romeo* Stevens Institute of Technology, Class of 2016 Major in Computer Science www.whizkidztech.com | tylerro...@gmail.com On Tue, Jul 30, 2013 at 12:51 PM, Yuri Astrakhan <yastrak...@wikimedia.org>wrote: > Awesome!!! Thanks Ori!!! > > Can we have varnish through a role please? We will have to do a lot of dev > & test for it soon. > > The default varnish config in /etc/varnish/default.vcl could have this at > the very top of the file. Leave all comments there. > > backend default { > .host = "127.0.0.1"; > .port = "80"; > } > > start with: > > sudo varnishd -f /etc/varnish/default.vcl -s malloc,1G -T 127.0.0.1:2000-a > 0.0.0.0:8080 > > This way varnish will only work if accessed through port 8080 (needs to be > mapped to outside), while port 80 will continue be served uncached. The > admin port 2000 doesn't have to be patched to the outside (rarely used, can > be accessed through ssh). > > P.S. Note that varnish config should not be deleted on every vagrant up - > there could be a lot of changes during development to that file. Maybe it > would make sense to have an include command of some sort the same way as > settings.d/ files for vagrant. > > Thanks! > > > > > On Tue, Jul 30, 2013 at 4:58 AM, Antoine Musso <hashar+...@free.fr> wrote: > > > Le 30/07/13 06:39, Ori Livneh a écrit : > > > There's a short, 1-minute screencast up at > > > http://ascii.io/a/4428demonstrating usage. Check it out. I'll wait. > > > > I am sorry to report you are definitely too awesome. Thank you for all > > your work on that front \O/ > > > > -- > > Antoine "hashar" Musso > > > > > > _______________________________________________ > > Wikitech-l mailing list > > Wikitech-l@lists.wikimedia.org > > https://lists.wikimedia.org/mailman/listinfo/wikitech-l > > > _______________________________________________ > Wikitech-l mailing list > Wikitech-l@lists.wikimedia.org > https://lists.wikimedia.org/mailman/listinfo/wikitech-l > _______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l