deleted: Dockerfile.certbot

deleted:    Dockerfile.nginx
	modified:   Makefile
	modified:   README.md
	deleted:    compose.certbot.yml
	modified:   docker-compose.yml
	deleted:    entrypoint-certbot.sh
	deleted:    entrypoint-nginx.sh
	deleted:    nginx-gitea.conf.template
	deleted:    nginx.conf.template
	new file:   proxy/Caddyfile
	new file:   proxy/limiter.toml
	new file:   searx/.env
	new file:   searx/.env.example
	new file:   searx/core-config/limiter.toml
	new file:   searx/limiter.toml
	new file:   web/Caddyfile
This commit is contained in:
viljarb
2026-07-07 15:14:28 +00:00
parent f506d339a3
commit d6e0b550a9
17 changed files with 167 additions and 227 deletions

25
proxy/Caddyfile Normal file
View File

@@ -0,0 +1,25 @@
viljarb.online {
reverse_proxy web:80
}
www.viljarb.online {
reverse_proxy web:80
}
gitea.viljarb.online {
reverse_proxy gitea:3000
}
searx.viljarb.online {
reverse_proxy searxng-core:8080 {
header_up X-Real-IP {http.request.remote.host}
header_up X-Forwarded-For {http.request.remote.host}
header_up X-Forwarded-Proto {http.request.scheme}
header_up X-Forwarded-Port {http.request.port}
header_up Connection "close"
}
}
localhost:80 {
respond "this is localhost"
}
localhost:81 {
respond "this is another localhost"
}

27
proxy/limiter.toml Normal file
View File

@@ -0,0 +1,27 @@
[botdetection]
ipv4_prefix = 32
ipv6_prefix = 48
# Trust the Caddy reverse proxy on the docker network.
trusted_proxies = [
"127.0.0.0/8",
"::1",
"172.16.0.0/12",
"10.0.0.0/8",
]
[botdetection.ip_limit]
filter_link_local = false
link_token = false
[botdetection.ip_lists]
block_ip = [
]
pass_ip = [
]
pass_searxng_org = true