Skip to content

Commit dceafe0

Browse files
committed
Update default HTTPS port
Signed-off-by: Guilherme Carvalho <[email protected]>
1 parent 996e427 commit dceafe0

File tree

4 files changed

+13
-13
lines changed

4 files changed

+13
-13
lines changed

support/oidc-discovery-provider/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -91,13 +91,13 @@ will terminate if another domain is requested.
9191

9292
#### Serving Certificate Section
9393

94-
| Key | Type | Required? | Description | Default |
95-
|----------------------|----------|-----------|--------------------------------------------------------------------|------------|
96-
| `cert_file_path` | string | required | The certificate file path, the file must contain PEM encoded data. | |
97-
| `key_file_path` | string | required | The private key file path, the file must contain PEM encoded data. | |
98-
| `file_sync_interval` | duration | optional | Controls how frequently the service polls the files for changes. | 1 minute |
99-
| `file_sync_interval` | duration | optional | Controls how frequently the service polls the files for changes. | 1 minute |
100-
| `addr` | string | optional | Exposes the service on the given address. | :433 |
94+
| Key | Type | Required? | Description | Default |
95+
|----------------------|----------|-----------|--------------------------------------------------------------------|----------|
96+
| `cert_file_path` | string | required | The certificate file path, the file must contain PEM encoded data. | |
97+
| `key_file_path` | string | required | The private key file path, the file must contain PEM encoded data. | |
98+
| `file_sync_interval` | duration | optional | Controls how frequently the service polls the files for changes. | 1 minute |
99+
| `file_sync_interval` | duration | optional | Controls how frequently the service polls the files for changes. | 1 minute |
100+
| `addr` | string | optional | Exposes the service on the given address. | :443 |
101101

102102
#### Server API Section
103103

support/oidc-discovery-provider/config.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const (
1717
defaultHealthChecksBindPort = 8008
1818
defaultHealthChecksReadyPath = "/ready"
1919
defaultHealthChecksLivePath = "/live"
20-
defaultAddr = ":433"
20+
defaultAddr = ":443"
2121
)
2222

2323
type Config struct {
@@ -84,7 +84,7 @@ type ServingCertFileConfig struct {
8484
// KeyFilePath is the path to the private key file. The provider will watch
8585
// this file for changes and reload the key when it changes.
8686
KeyFilePath string `hcl:"key_file_path"`
87-
// Addr is the address to listen on. This is optional and defaults to ":433".
87+
// Addr is the address to listen on. This is optional and defaults to ":443".
8888
Addr *net.TCPAddr `hcl:"-"`
8989
// RawAddr holds the string version of the Addr. Consumers should use Addr instead.
9090
RawAddr string `hcl:"addr"`

support/oidc-discovery-provider/config_posix_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,9 +130,9 @@ func parseConfigCasesOS() []parseConfigCase {
130130
FileSyncInterval: time.Minute,
131131
Addr: &net.TCPAddr{
132132
IP: nil,
133-
Port: 433,
133+
Port: 443,
134134
},
135-
RawAddr: ":433",
135+
RawAddr: ":443",
136136
},
137137
ServerAPI: &ServerAPIConfig{
138138
Address: "unix:///some/socket/path",

support/oidc-discovery-provider/config_windows_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,9 +148,9 @@ func parseConfigCasesOS() []parseConfigCase {
148148
FileSyncInterval: time.Minute,
149149
Addr: &net.TCPAddr{
150150
IP: nil,
151-
Port: 433,
151+
Port: 443,
152152
},
153-
RawAddr: ":433",
153+
RawAddr: ":443",
154154
},
155155
ServerAPI: &ServerAPIConfig{
156156
Experimental: experimentalServerAPIConfig{

0 commit comments

Comments
 (0)