This repository was archived by the owner on Apr 22, 2024. It is now read-only.
File tree 5 files changed +11
-10
lines changed
5 files changed +11
-10
lines changed Original file line number Diff line number Diff line change 2
2
3
3
A very simple reverse proxy that broadcasts to multiple backends.
4
4
5
- ## Try it!
5
+ ## Try it
6
6
7
7
``` sh
8
- $ make build
9
- $ bin/sprayproxy server --backend < backend-server> --backend < another-backend-server>
8
+ make build
9
+ bin/sprayproxy server --backend < backend-server> --backend < another-backend-server>
10
10
```
11
11
12
12
You can also configure the proxy with environment variables:
@@ -15,9 +15,10 @@ You can also configure the proxy with environment variables:
15
15
* ` SPRAYPROXY_SERVER_PORT ` : port to serve the proxy
16
16
* ` SPRAYPROXY_SERVER_BACKENDS ` : a space-separated list of backends to forward traffic. Example:
17
17
18
- ```
19
- SPRAYPROXY_SERVER_BACKENDS="http://localhost:8080 http://localhost:8081"
20
- ```
18
+ ``` sh
19
+ SPRAYPROXY_SERVER_BACKENDS=" http://localhost:8080 http://localhost:8081"
20
+ ```
21
+
21
22
* ` SPRAYPROXY_SERVER_INSECURE_SKIP_TLS_VERIFY ` : Skip TLS verification when forwarding to backends.
22
23
** Note: this setting is insecure and should not be used in production environments.**
23
24
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import (
11
11
"github.com/spf13/cobra"
12
12
"github.com/spf13/viper"
13
13
14
- "github.com/adambkaplan /sprayproxy/pkg/server"
14
+ "github.com/redhat-appstudio /sprayproxy/pkg/server"
15
15
)
16
16
17
17
// serverCmd represents the server command
Original file line number Diff line number Diff line change 1
- module github.com/adambkaplan /sprayproxy
1
+ module github.com/redhat-appstudio /sprayproxy
2
2
3
3
go 1.18
4
4
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ SPDX-License-Identifier: Apache-2.0
5
5
*/
6
6
package main
7
7
8
- import "github.com/adambkaplan /sprayproxy/cmd"
8
+ import "github.com/redhat-appstudio /sprayproxy/cmd"
9
9
10
10
func main () {
11
11
cmd .Execute ()
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ import (
12
12
13
13
"github.com/gin-gonic/gin"
14
14
15
- "github.com/adambkaplan /sprayproxy/pkg/proxy"
15
+ "github.com/redhat-appstudio /sprayproxy/pkg/proxy"
16
16
)
17
17
18
18
type SprayProxyServer struct {
You can’t perform that action at this time.
0 commit comments