update config.toml and bumb version
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "gemserv"
|
name = "gemserv"
|
||||||
version = "0.4.3"
|
version = "0.4.4"
|
||||||
authors = ["int 80h <int@80h.dev>"]
|
authors = ["int 80h <int@80h.dev>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
||||||
|
|||||||
@@ -33,6 +33,9 @@ usrdir = true
|
|||||||
# proxy is optional
|
# proxy is optional
|
||||||
# path is what comes after the hostname e.g. example.com/path
|
# path is what comes after the hostname e.g. example.com/path
|
||||||
proxy = { path = "localhost:1966" }
|
proxy = { path = "localhost:1966" }
|
||||||
|
# proxy_all is optional
|
||||||
|
# It will send all requests to the specified server. It also supports streamming.
|
||||||
|
proxy_all = localhost:1967
|
||||||
# redirect is optional
|
# redirect is optional
|
||||||
redirect = { "/redirect" = "/", "/newdomain" = "gemini://example.net" }
|
redirect = { "/redirect" = "/", "/newdomain" = "gemini://example.net" }
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user