headscale: rename coordination endpoint to vpn.neuralplatform.ai
This commit is contained in:
@@ -5,24 +5,27 @@ metadata:
|
|||||||
namespace: headscale
|
namespace: headscale
|
||||||
data:
|
data:
|
||||||
config.yaml: |
|
config.yaml: |
|
||||||
server_url: https://headscale.neuralplatform.ai
|
server_url: https://vpn.neuralplatform.ai
|
||||||
listen_addr: 0.0.0.0:8080
|
listen_addr: 0.0.0.0:8080
|
||||||
grpc_listen_addr: 0.0.0.0:50443
|
grpc_listen_addr: 0.0.0.0:50443
|
||||||
grpc_allow_insecure: true
|
grpc_allow_insecure: true
|
||||||
private_key_path: /data/private.key
|
private_key_path: /data/private.key
|
||||||
noise:
|
noise:
|
||||||
private_key_path: /data/noise_private.key
|
private_key_path: /data/noise_private.key
|
||||||
ip_prefixes:
|
prefixes:
|
||||||
- 100.64.0.0/10
|
v4: 100.64.0.0/10
|
||||||
db_type: sqlite3
|
database:
|
||||||
db_path: /data/headscale.db
|
type: sqlite
|
||||||
|
sqlite:
|
||||||
|
path: /data/headscale.db
|
||||||
log:
|
log:
|
||||||
level: info
|
level: info
|
||||||
dns_config:
|
dns:
|
||||||
nameservers:
|
|
||||||
- 100.64.0.1
|
|
||||||
magic_dns: true
|
magic_dns: true
|
||||||
base_domain: vpn.neuralplatform.ai
|
base_domain: vpn.neuralplatform.ai
|
||||||
|
nameservers:
|
||||||
|
global:
|
||||||
|
- 100.64.0.1
|
||||||
derp:
|
derp:
|
||||||
server:
|
server:
|
||||||
enabled: false
|
enabled: false
|
||||||
@@ -111,3 +114,31 @@ spec:
|
|||||||
port: 50443
|
port: 50443
|
||||||
targetPort: 50443
|
targetPort: 50443
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
|
---
|
||||||
|
# Traefik ingress — direct TLS, bypasses Cloudflare proxy so WebSocket
|
||||||
|
# upgrades (required by Tailscale TS2021) pass through unmodified.
|
||||||
|
# DNS: vpn.neuralplatform.ai A 72.204.75.49 (DNS-only, not proxied)
|
||||||
|
apiVersion: networking.k8s.io/v1
|
||||||
|
kind: Ingress
|
||||||
|
metadata:
|
||||||
|
name: headscale
|
||||||
|
namespace: headscale
|
||||||
|
annotations:
|
||||||
|
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
||||||
|
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||||
|
spec:
|
||||||
|
tls:
|
||||||
|
- hosts:
|
||||||
|
- vpn.neuralplatform.ai
|
||||||
|
secretName: headscale-tls
|
||||||
|
rules:
|
||||||
|
- host: vpn.neuralplatform.ai
|
||||||
|
http:
|
||||||
|
paths:
|
||||||
|
- path: /
|
||||||
|
pathType: Prefix
|
||||||
|
backend:
|
||||||
|
service:
|
||||||
|
name: headscale
|
||||||
|
port:
|
||||||
|
number: 8080
|
||||||
|
|||||||
Reference in New Issue
Block a user