1 parent b0c28ed commit 8b49503Copy full SHA for 8b49503
1 file changed
README.md
@@ -4,9 +4,17 @@ A simple proxy server for M3U8 file written in go for high performance
4
5
### Running the server
6
7
+Redis is optional but can be used to cache the proxied data.
8
+
9
copy the `.env.example` file to `.env`
-it takes two env
-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
18
add multiple domain separated by comma (,)
19
20
`go run cmd/main.go`
0 commit comments