Skip to content

Commit

Permalink
changed config-example.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Jisse-Meruma committed Feb 5, 2025
1 parent 59f6880 commit d4d4228
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions config-example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,16 @@ grpc_listen_addr: 127.0.0.1:50443
# are doing.
grpc_allow_insecure: false

# The Access-Control-Allow-Origin header specifies which origins are allowed to access resources.
# The allow_origins list will allow you to set the Access-Control-Allow-Origin header to the origin in the list.
# This will allow you to enable cors and set headscale without a reverse proxy.
# Multiple origins can be set in the allow_origins list.
# Options:
# - "*" to allow access from any origin (not recommended for sensitive data).
# - "http://example.com" to only allow access from a specific origin.
# - "" to disable Cross-Origin Resource Sharing (CORS).
access_control_allow_origin: ""
# - "*" is disabled (due to security risks).
# - "https://example.com" to only allow access from a specific origin.
# - "https://example.com:1234" to allow access from a specific origin with a port.

cors:
allow_origins: []

# The Noise section includes specific configuration for the
# TS2021 Noise protocol
Expand Down

0 comments on commit d4d4228

Please sign in to comment.