Compare Chrome extensions: Simple Proxy vs Virtual Hosts

Stats Simple Proxy Simple Proxy Virtual Hosts Virtual Hosts
User count 1,000+ 10,000+
Average rating 5.00 3.34
Rating count 9 101
Last updated 2019-05-20 2015-10-29
Size 319.49K 9.93K
Version 0.1.8 1.2
Short description
一个朴素的代理配置扩展 Access virtual hosts of a server without the need of host redirection or DNS.
Full summary

通过预先配置需要代理的域名或者 URL 及其对应的目标服务器,然后快速的在各个目标服务器间进行切换。

该扩展主要是为了解决前后端分离开发(如 Vue 项目)的过程中,反向代理配置比较麻烦,且需要重启服务的问题: 在前后端分离开发(如 Vue 项目)的过程中,我们经常需要配置反向代理( 如 Vue 项目的 proxyTable )来与真实的 API 服务器交换数据;但是

  1. 同一个项目可能经常需要和不同的后端开发同事协作,此时不可避免的就需要修改前端服务的反向代理配置;
  2. 前端的测试服务器也需要能够让客户端决定连接哪个 API 服务,如果直接配置反向代理,则需要根据客户端测试需要调整代理配置。

同时,也间接的能够支持其他代理类扩展的代理工作,只是配置方式稍显不同。

== ABOUT == Overwrite the Host HTTP header to request a specific virtual host from a remote server.

Often enough while waiting for DNS propagation or standing up a replacement site, developers edit the hosts file on their system to achieve the same effect. This extension basically does the same thing without the hassle.

When detecting outgoing HTTP requests from your Chrome browser to the VHost Domain we redirect to the VHost IP. When detecting outgoing HTTP requests from your Chrome browser to the VHost IP, the extension simply adds a Host header containing the domain name specified in the VHost Domain. Any requests to sites other than the VHost Domain and VHost IP are ignored, so browsing other sites won't be impacted.

== HOW TO USE ==

  • Enable - Click the VHost icon in the top right and enter the desired domain name. When a domain is present and [x] Enabled is checked, the VHost icon turns red. That means all websites will be requested with the entered domain.

  • Disable - Untick the [ ] Enabled checkbox. The icon will turn green-ish which means VHost is disabled and all websites will be requested with the regular host name.

See more