pmolchanov / vue-mitmproxy-demo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vue-mitmproxy-demo

This project demonstrates using mitmproxy to serve a subdirectory (/my/sub/path/) of a website (https://example.com) from a local Vue CLI development server with hot reload. This a useful development technique when multiple semi-independent applications are hosted on a single domain that is partitioned by path.

Key Components:

Preqrequisites

Project setup

npm install

Proxy Vue CLI development server with Hot Reload

npm run dev

Configure System for Proxy Auto-Configuration (PAC)

Configure your system proxy settings for proxy auto-configuration. The address of the PAC file is: http://localhost:8082/proxy.pac

Test

https://example.com/my/sub/path/

About


Languages

Language:JavaScript 61.2%Language:Python 14.3%Language:HTML 13.5%Language:Vue 9.7%Language:Shell 1.3%