Compare commits
3 Commits
alpha-1.12
...
alpha-1.15
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c70dc33f67 | ||
|
|
fb264bf7c6 | ||
|
|
f3304b90c8 |
@@ -259,7 +259,16 @@ async def create_proxy_host(
|
||||
"block_exploits": True,
|
||||
"allow_websocket_upgrade": True,
|
||||
"access_list_id": 0,
|
||||
"advanced_config": "",
|
||||
"advanced_config": (
|
||||
"location ^~ /management.ManagementService/ {\n"
|
||||
f" grpc_pass grpc://{forward_host}:{forward_port};\n"
|
||||
" grpc_set_header Host $host;\n"
|
||||
"}\n"
|
||||
"location ^~ /signalexchange.SignalExchange/ {\n"
|
||||
f" grpc_pass grpc://{forward_host}:{forward_port};\n"
|
||||
" grpc_set_header Host $host;\n"
|
||||
"}\n"
|
||||
),
|
||||
"meta": {
|
||||
"letsencrypt_agree": True,
|
||||
"letsencrypt_email": admin_email,
|
||||
|
||||
@@ -112,7 +112,11 @@ async def check_for_updates(config: Any) -> dict:
|
||||
# Determine if update is needed: prefer tag comparison, fallback to commit
|
||||
current_tag = current.get("tag", "unknown")
|
||||
current_sha = current.get("commit", "unknown")
|
||||
if current_tag != "unknown" and latest_tag != "unknown":
|
||||
|
||||
# If we don't know our current version but the remote has one, we should update
|
||||
if current_tag == "unknown" and current_sha == "unknown":
|
||||
needs_update = latest_tag != "unknown" or short_sha != "unknown"
|
||||
elif current_tag != "unknown" and latest_tag != "unknown":
|
||||
needs_update = current_tag != latest_tag
|
||||
else:
|
||||
needs_update = (
|
||||
|
||||
@@ -29,6 +29,11 @@
|
||||
}
|
||||
}
|
||||
|
||||
# NetBird Relay WebSocket (rels://)
|
||||
handle /relay* {
|
||||
reverse_proxy netbird-{{ subdomain }}-relay:80
|
||||
}
|
||||
|
||||
# Default: NetBird Dashboard
|
||||
handle {
|
||||
reverse_proxy netbird-{{ subdomain }}-dashboard:80
|
||||
|
||||
Reference in New Issue
Block a user