Vaprobash icon indicating copy to clipboard operation
Vaprobash copied to clipboard

Add Varnish support

Open Intrepidity opened this issue 10 years ago • 3 comments

It would be nice to have out of the box support for Varnish, and having it listen on port 80 and move apache or nginx to 8080 or something.

Intrepidity avatar Feb 12 '15 11:02 Intrepidity

I've had mixed feeling since it's weird to have a proxy in place for development, but would be nice to have around so people can see an example of it in use. (Configuration for an HTTP cache is usually very specific to a user's application, however).

fideloper avatar Feb 14 '15 14:02 fideloper

I see your point, except there's also a big market for deploying vagrant boxes to production enviroments (digital ocean for example) or internally as intranet servers. So in my opinion there's definately a use-case to install Varnish. Configuration will indeed be difficult, but we can think of a sane default and maybe create a possibility for users to specify their custom vcl-file in a configuration option?

I can probably whip something up over the next 2 weeks.

Intrepidity avatar Feb 15 '15 14:02 Intrepidity

I agree, likely is a decent chunk of people wanting that. Vapro has never been a setup for production (has debugging on, zero security in place), but I do use it often to refer to scripts to perform tasks in production :D

Varnish is likely a good addition here.

On Sun Feb 15 2015 at 8:36:24 AM Intrepidity [email protected] wrote:

I see your point, except there's also a big market for deploying vagrant boxes to production enviroments (digital ocean for example) or internally as intranet servers. So in my opinion there's definately a use-case to install Varnish. Configuration will indeed be difficult, but we can think of a sane default and maybe create a possibility for users to specify their custom vcs-file in a configuration option?

I can probably whip something up over the next 2 weeks.

— Reply to this email directly or view it on GitHub https://github.com/fideloper/Vaprobash/issues/440#issuecomment-74419709.

fideloper avatar Feb 19 '15 13:02 fideloper