mirror of
https://github.com/netbirdio/netbird.git
synced 2024-11-27 02:24:30 +01:00
966661fe91
This PR is a part of an effort to use standard ports (443 or 80) that are usually allowed by default in most of the environments. Right now Management Service runs the Let'sEncrypt manager on port 443, HTTP API server on port 33071, and a gRPC server on port 33073. There are three separate listeners. This PR combines these listeners into one. With this change, the HTTP and gRPC server runs on either 443 with TLS or 80 without TLS by default (no --port specified). Let's Encrypt manager always runs on port 443 if enabled. The backward compatibility server runs on port 33073 (with TLS or without). HTTP port 33071 is obsolete and not used anymore. Newly installed agents will connect to port 443 by default instead of port 33073 if not specified otherwise. |
||
---|---|---|
.. | ||
http | ||
idp | ||
jwtclaims | ||
migration | ||
mock_server | ||
testdata | ||
account_test.go | ||
account.go | ||
config.go | ||
file_store_test.go | ||
file_store.go | ||
group.go | ||
grpcserver.go | ||
management_proto_test.go | ||
management_suite_test.go | ||
management_test.go | ||
network_test.go | ||
network.go | ||
peer_test.go | ||
peer.go | ||
rule.go | ||
setupkey_test.go | ||
setupkey.go | ||
store.go | ||
turncredentials_test.go | ||
turncredentials.go | ||
updatechannel_test.go | ||
updatechannel.go | ||
user.go |