This pulls a fix which enables vspd to determine remote client IP using header `X-Forwarded-For` or `X-Real-Ip`. This depends on the reverse proxy setting those headers appropriately, which can be achieved in nginx 1.20 using the following: ``` proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; ```
26 lines
1.1 KiB
Modula-2
26 lines
1.1 KiB
Modula-2
module github.com/decred/vspd
|
|
|
|
go 1.16
|
|
|
|
require (
|
|
decred.org/dcrwallet/v2 v2.0.0-20210916150134-b7ff70a839f4
|
|
github.com/decred/dcrd/blockchain/stake/v4 v4.0.0-20210916181621-7474441bbe94
|
|
github.com/decred/dcrd/blockchain/v4 v4.0.0-20210916181621-7474441bbe94
|
|
github.com/decred/dcrd/chaincfg/chainhash v1.0.4-0.20210914212651-723d86274b0d
|
|
github.com/decred/dcrd/chaincfg/v3 v3.0.1-0.20210914212651-723d86274b0d
|
|
github.com/decred/dcrd/dcrutil/v4 v4.0.0-20210916181621-7474441bbe94
|
|
github.com/decred/dcrd/hdkeychain/v3 v3.0.1-0.20210914212651-723d86274b0d
|
|
github.com/decred/dcrd/rpc/jsonrpc/types/v3 v3.0.0-20210916181621-7474441bbe94
|
|
github.com/decred/dcrd/txscript/v4 v4.0.0-20210916181621-7474441bbe94
|
|
github.com/decred/dcrd/wire v1.4.1-0.20210914212651-723d86274b0d
|
|
github.com/decred/slog v1.2.0
|
|
github.com/dustin/go-humanize v1.0.0
|
|
github.com/gin-gonic/gin v1.7.7
|
|
github.com/gorilla/sessions v1.2.1
|
|
github.com/jessevdk/go-flags v1.5.0
|
|
github.com/jrick/bitset v1.0.0
|
|
github.com/jrick/logrotate v1.0.0
|
|
github.com/jrick/wsrpc/v2 v2.3.4
|
|
go.etcd.io/bbolt v1.3.6
|
|
)
|