mirror of
https://github.com/oauth2-proxy/oauth2-proxy.git
synced 2026-10-17 11:55:38 +02:00
Some typos (#1222)
* Some typos * Also corrected the typo's in the src code Co-authored-by: Joel Speed <Joel.speed@hotmail.co.uk>
This commit is contained in:
co-authored by
Joel Speed
parent
f648c54d87
commit
cfd82daaf0
@@ -9,7 +9,7 @@ type Header struct {
|
||||
|
||||
// PreserveRequestValue determines whether any values for this header
|
||||
// should be preserved for the request to the upstream server.
|
||||
// This option only takes effet on injected request headers.
|
||||
// This option only applies to injected request headers.
|
||||
// Defaults to false (headers that match this header will be stripped).
|
||||
PreserveRequestValue bool `json:"preserveRequestValue,omitempty"`
|
||||
|
||||
|
||||
@@ -2,11 +2,11 @@ package options
|
||||
|
||||
// Server represents the configuration for an HTTP(S) server
|
||||
type Server struct {
|
||||
// BindAddress is the the address on which to serve traffic.
|
||||
// BindAddress is the address on which to serve traffic.
|
||||
// Leave blank or set to "-" to disable.
|
||||
BindAddress string
|
||||
|
||||
// SecureBindAddress is the the address on which to serve secure traffic.
|
||||
// SecureBindAddress is the address on which to serve secure traffic.
|
||||
// Leave blank or set to "-" to disable.
|
||||
SecureBindAddress string
|
||||
|
||||
@@ -17,7 +17,7 @@ type Server struct {
|
||||
|
||||
// TLS contains the information for loading a TLS certifcate and key.
|
||||
type TLS struct {
|
||||
// Key is the the TLS key data to use.
|
||||
// Key is the TLS key data to use.
|
||||
// Typically this will come from a file.
|
||||
Key *SecretSource
|
||||
|
||||
|
||||
Reference in New Issue
Block a user