From 2f1de95e06ebe693106b91144333ac5ef0a187ef Mon Sep 17 00:00:00 2001 From: Gianni Carafa Date: Thu, 2 Nov 2023 23:05:42 +0100 Subject: [PATCH] improve docs --- README.md | 5 +++-- docker-compose.yaml | 10 ++++++---- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 772abdd..e2bd9aa 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,7 @@ Certain sites may display missing images or encounter formatting issues. This ca - [x] Windows binary (untested) - [x] Remove most of the ads (unexpected side effect) - [x] Basic Auth +- [x] Disable Logs ## Installation @@ -70,6 +71,6 @@ http://localhost:8080/raw/https://www.google.com | `PORT` | Port to listen on | `8080` | | `PREFORK` | Spawn multiple server instances | `false` | | `USER_AGENT` | User agent to emulate | `Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)` | -| `X_FORWARDED_FOR` | IP Forwarder address | `66.249.66.1` | -| `USERPASS` | Enables Basic Auth, format `admin:123456` | | +| `X_FORWARDED_FOR` | IP forwarder address | `66.249.66.1` | +| `USERPASS` | Enables Basic Auth, format `admin:123456` | `` | | `LOG_URLS` | Log fetched URL's | `true` | diff --git a/docker-compose.yaml b/docker-compose.yaml index 7eb47da..bf50e94 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -9,10 +9,12 @@ services: #command: sh -c ./ladder environment: - PORT=8080 - - PREFORK=true - - X_FORWARDED_FOR=66.249.66.1 - - USER_AGENT=Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html) - #- GODEBUG=netdns=go+4 + #- PREFORK=true + #- X_FORWARDED_FOR=66.249.66.1 + #- USER_AGENT=Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html) + #- USERPASS=foo:bar + #- LOG_URLS=true + #- GODEBUG=netdns=go ports: - "8080:8080" deploy: