Skip to content

Commit

Permalink
cmd: default HTTP server to 8443
Browse files Browse the repository at this point in the history
Signed-off-by: Jimmy Zelinskie <jimmy@zelinskie.com>
  • Loading branch information
jzelinskie committed Oct 22, 2021
1 parent 2515fc2 commit fe9e718
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/spicedb/serve.go
Expand Up @@ -103,7 +103,7 @@ func registerServeCmd(rootCmd *cobra.Command) {
serveCmd.Flags().String("internal-grpc-addr", ":50053", "address to listen for internal requests")

// Flags for HTTP gateway
serveCmd.Flags().String("http-addr", ":443", "address to listen for HTTP API requests")
serveCmd.Flags().String("http-addr", ":8443", "address to listen for HTTP API requests")
serveCmd.Flags().Bool("http-no-tls", false, "serve HTTP API requests unencrypted")
serveCmd.Flags().String("http-cert-path", "", "local path to the TLS certificate used to serve HTTP API requests")
serveCmd.Flags().String("http-key-path", "", "local path to the TLS key used to serve HTTP API requests")
Expand Down
2 changes: 1 addition & 1 deletion e2e/spice/spicedb.go
Expand Up @@ -48,7 +48,7 @@ func WithTestDefaults(opts ...SpiceDbOption) SpiceDbOption {
s.InternalPort = 50052
}
if s.HttpPort == 0 {
s.HttpPort = 443
s.HttpPort = 8443
}
if s.MetricsPort == 0 {
s.MetricsPort = 9090
Expand Down

0 comments on commit fe9e718

Please sign in to comment.