diff options
author | Wolfy-J <[email protected]> | 2018-09-30 17:58:16 +0300 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2018-09-30 17:58:16 +0300 |
commit | 734fab795eb5ee396ee76955c9ddadc4f3b09112 (patch) | |
tree | cec3a313fe207c3f91cd142d6d37202ef4db9494 /server_config.go | |
parent | 6122fca108c20984732c969fb1ba53cce5b3c44a (diff) |
https and http2 support
Diffstat (limited to 'server_config.go')
-rw-r--r-- | server_config.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server_config.go b/server_config.go index 936744a1..db13382b 100644 --- a/server_config.go +++ b/server_config.go @@ -75,6 +75,7 @@ func (cfg *ServerConfig) makeCommand() func() *exec.Cmd { var cmd = strings.Split(cfg.Command, " ") return func() *exec.Cmd { cmd := exec.Command(cmd[0], cmd[1:]...) + cmd.Env = append(os.Environ(), fmt.Sprintf("RR_RELAY=%s", cfg.Relay)) cmd.Env = append(os.Environ(), cfg.env...) return cmd } |