Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/acoshift/proxy
Local Cache Proxy Server
https://github.com/acoshift/proxy
Last synced: about 1 month ago
JSON representation
Local Cache Proxy Server
- Host: GitHub
- URL: https://github.com/acoshift/proxy
- Owner: acoshift
- License: mit
- Created: 2019-04-10T15:48:51.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-09-14T05:47:00.000Z (over 5 years ago)
- Last Synced: 2024-05-01T13:24:32.865Z (8 months ago)
- Language: Go
- Homepage:
- Size: 97.7 KB
- Stars: 6
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# proxy
Local Cache Proxy Server
## Setup
### macOS
```sh
# Install brotli
brew install brotli# Install proxy
make install# Setup config directory
mkdir -p ~/.proxy
cd !$
touch tunnels blacklists
mkdir cache# Generate Self-signed ECDSA CA
openssl ecparam -name prime256v1 -genkey -out ca.key -noout
openssl req -new -x509 -key ca.key -out ca.crt -days 3650# Run proxy
proxy \
-port=18888 \
-ca.key=$HOME/.proxy/ca.key -ca.crt=$HOME/.proxy/ca.crt \
-cache.path=$HOME/.proxy/cache \
-proxy.tunnel.file=$HOME/.proxy/tunnels \
-proxy.tunnel.notbrowser \
-proxy.blacklist.file=$HOME/.proxy/blacklists \
-log
```