1
0
Fork 0
mirror of https://github.com/kou029w/fogtype.com synced 2025-01-18 08:05:02 +00:00

Revert "ACLs"

This reverts commit 8ec1d7eefc.
実験的な機能で危険なのでやめておく。
This commit is contained in:
Nebel 2023-05-06 00:01:41 +09:00
parent 8ec1d7eefc
commit 543a2f9dc3
Signed by: nebel
GPG key ID: 79807D08C6EF6460
3 changed files with 0 additions and 20 deletions

View file

@ -82,8 +82,6 @@ services:
restart: unless-stopped
ports:
- "127.0.0.1:9200:9200"
environment:
HEADSCALE_EXPERIMENTAL_FEATURE_SSH: "1"
volumes:
- ./etc/headscale:/etc/headscale
- headscale_data:/var/lib/headscale

View file

@ -1,17 +0,0 @@
{
"acls": [
{
"action": "accept",
"src": ["*"],
"dst": ["*:*"]
}
],
"ssh": [
{
"action": "accept",
"src": ["autogroup:members"],
"dst": ["autogroup:self"],
"users": ["root", "autogroup:nonroot"]
}
]
}

View file

@ -1,7 +1,6 @@
server_url: https://net.fogtype.com
listen_addr: 0.0.0.0:8080
metrics_listen_addr: 0.0.0.0:9200
acl_policy_path: /etc/headscale/acls.json
db_type: sqlite3
db_path: /var/lib/headscale/db.sqlite
private_key_path: /var/lib/headscale/private.key