From 3dcd5035dc87ed437f23b6768b434339273b717e Mon Sep 17 00:00:00 2001 From: detoro Date: Sun, 3 Nov 2024 21:02:52 +0700 Subject: [PATCH] bump version to 0.1.7 and update README for ACME support --- Cargo.toml | 2 +- README.md | 8 ++++++-- scripts/install.sh | 1 + 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index a4d4239..83249b8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "easy-proxy" -version = "0.1.6" +version = "0.1.7" edition = "2021" [dependencies] diff --git a/README.md b/README.md index 9772d2f..eb0dd2e 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ Easy Proxy supports the following features: - [x] HTTPS - Certificate Management - [x] Custom - - [ ] ACME (WIP) + - [x] ACME - Service Endpoint - [x] HTTP - [ ] HTTPS @@ -56,6 +56,8 @@ proxy: http: "0.0.0.0:80" https: "0.0.0.0:443" config_dir: "/etc/easy-proxy/proxy" +# optional +acme_store: "/etc/easy-proxy/acme.json" # auto generated pingora: # https://github.com/cloudflare/pingora/blob/main/docs/user_guide/daemon.md daemon: true @@ -103,10 +105,12 @@ tls: - name: my-tls type: custom # acme, custom # acme: # required if type is acme + # provider: letsencrypt # letsencrypt or buypass // optional default letsencrypt # email: admin@domain.com key: /etc/easy-proxy/ssl/localhost.key cert: /etc/easy-proxy/ssl/localhost.crt - # chain: .config/ssl/localhost.chain.crt # optional + # chain: # optional + # - /etc/easy-proxy/ssl/chain.pem # Routes to be proxied routes: diff --git a/scripts/install.sh b/scripts/install.sh index bd3fbfb..74dc8d8 100644 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -83,6 +83,7 @@ proxy: http: "0.0.0.0:80" https: "0.0.0.0:443" config_dir: "/etc/easy-proxy/proxy" +acme_store: "/etc/easy-proxy/acme.json" pingora: daemon: true threads: $(nproc)