improve docs

This commit is contained in:
Gianni Carafa
2023-11-02 23:05:42 +01:00
parent 7ae1a29932
commit 2f1de95e06
2 changed files with 9 additions and 6 deletions

View File

@@ -24,6 +24,7 @@ Certain sites may display missing images or encounter formatting issues. This ca
- [x] Windows binary (untested) - [x] Windows binary (untested)
- [x] Remove most of the ads (unexpected side effect) - [x] Remove most of the ads (unexpected side effect)
- [x] Basic Auth - [x] Basic Auth
- [x] Disable Logs
## Installation ## Installation
@@ -70,6 +71,6 @@ http://localhost:8080/raw/https://www.google.com
| `PORT` | Port to listen on | `8080` | | `PORT` | Port to listen on | `8080` |
| `PREFORK` | Spawn multiple server instances | `false` | | `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)` | | `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` | | `X_FORWARDED_FOR` | IP forwarder address | `66.249.66.1` |
| `USERPASS` | Enables Basic Auth, format `admin:123456` | | | `USERPASS` | Enables Basic Auth, format `admin:123456` | `` |
| `LOG_URLS` | Log fetched URL's | `true` | | `LOG_URLS` | Log fetched URL's | `true` |

View File

@@ -9,10 +9,12 @@ services:
#command: sh -c ./ladder #command: sh -c ./ladder
environment: environment:
- PORT=8080 - PORT=8080
- PREFORK=true #- PREFORK=true
- X_FORWARDED_FOR=66.249.66.1 #- X_FORWARDED_FOR=66.249.66.1
- USER_AGENT=Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html) #- USER_AGENT=Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)
#- GODEBUG=netdns=go+4 #- USERPASS=foo:bar
#- LOG_URLS=true
#- GODEBUG=netdns=go
ports: ports:
- "8080:8080" - "8080:8080"
deploy: deploy: