fix: untrack runtime config files and add them to .gitignore
These files are machine-specific and generated at runtime — they should never have been committed. Remove from index (files kept on disk) and add explicit gitignore rules to prevent future re-adds. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,57 +0,0 @@
|
||||
{
|
||||
auto_https off
|
||||
}
|
||||
|
||||
# Main cell domain — no service-IP restriction needed
|
||||
http://pic0.lan, http://172.20.0.2:80 {
|
||||
handle /api/* {
|
||||
reverse_proxy cell-api:3000
|
||||
}
|
||||
handle /calendar* {
|
||||
reverse_proxy cell-radicale:5232
|
||||
}
|
||||
handle /files* {
|
||||
reverse_proxy cell-filegator:8080
|
||||
}
|
||||
handle /webmail* {
|
||||
reverse_proxy cell-rainloop:8888
|
||||
}
|
||||
handle {
|
||||
reverse_proxy cell-webui:80
|
||||
}
|
||||
}
|
||||
|
||||
# Per-service virtual IPs — each gets its own IP so iptables can target them
|
||||
http://calendar.lan, http://172.20.0.21:80 {
|
||||
reverse_proxy cell-radicale:5232
|
||||
}
|
||||
|
||||
http://files.lan, http://172.20.0.22:80 {
|
||||
reverse_proxy cell-filegator:8080
|
||||
}
|
||||
|
||||
http://mail.lan, http://webmail.lan, http://172.20.0.23:80 {
|
||||
reverse_proxy cell-rainloop:8888
|
||||
}
|
||||
|
||||
http://webdav.lan, http://172.20.0.24:80 {
|
||||
reverse_proxy cell-webdav:80
|
||||
}
|
||||
|
||||
http://api.lan {
|
||||
reverse_proxy cell-api:3000
|
||||
}
|
||||
|
||||
http://webui.lan {
|
||||
reverse_proxy cell-webui:80
|
||||
}
|
||||
|
||||
# Catch-all for direct IP / localhost
|
||||
:80 {
|
||||
handle /api/* {
|
||||
reverse_proxy cell-api:3000
|
||||
}
|
||||
handle {
|
||||
reverse_proxy cell-webui:80
|
||||
}
|
||||
}
|
||||
@@ -1,3 +0,0 @@
|
||||
{
|
||||
"port": 5233
|
||||
}
|
||||
@@ -1,22 +0,0 @@
|
||||
{
|
||||
"_identity": {
|
||||
"cell_name": "pic0",
|
||||
"domain": "dec",
|
||||
"ip_range": "172.20.0.0/16",
|
||||
"wireguard_port": 51820
|
||||
},
|
||||
"_pending_restart": {
|
||||
"needs_restart": false,
|
||||
"changes": [],
|
||||
"containers": [],
|
||||
"network_recreate": false
|
||||
},
|
||||
"calendar": {
|
||||
"port": 5233
|
||||
},
|
||||
"wireguard": {
|
||||
"port": 51820,
|
||||
"address": "",
|
||||
"private_key": ""
|
||||
}
|
||||
}
|
||||
@@ -1,22 +0,0 @@
|
||||
# WebDAV configuration for Personal Internet Cell
|
||||
[global]
|
||||
# WebDAV server settings
|
||||
port = 8080
|
||||
host = 0.0.0.0
|
||||
root = /var/lib/webdav
|
||||
|
||||
# Authentication
|
||||
auth_type = basic
|
||||
auth_file = /etc/webdav/users
|
||||
|
||||
# SSL/TLS settings
|
||||
ssl = no
|
||||
ssl_cert = /etc/ssl/certs/webdav.crt
|
||||
ssl_key = /etc/ssl/private/webdav.key
|
||||
|
||||
# Logging
|
||||
log_level = info
|
||||
log_file = /var/log/webdav.log
|
||||
|
||||
# File permissions
|
||||
umask = 022
|
||||
Reference in New Issue
Block a user