Skip to content

Commit 8b49503

Browse files
authored
Update README.md
1 parent b0c28ed commit 8b49503

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,17 @@ A simple proxy server for M3U8 file written in go for high performance
44

55
### Running the server
66

7+
Redis is optional but can be used to cache the proxied data.
8+
79
copy the `.env.example` file to `.env`
8-
it takes two env
9-
PORT and CORS_DOMAIN
10+
11+
| NAME | DESCRIPTION | DEFAULT | Required |
12+
|---|---|---|---|
13+
|PORT|Port on which the server will run|4040|No|
14+
|CORS_DOMAIN|Domains that are allowed for cors|*|No|
15+
|REDIS_URL|Redis url||No|
16+
|REDIS_PASSWORD|Password for redis||No|
17+
1018
add multiple domain separated by comma (,)
1119

1220
`go run cmd/main.go`

0 commit comments

Comments
 (0)