diff --git a/lotus-land-story/restarts.yml b/lotus-land-story/restarts.yml
index 4ef4e97..17e33a7 100644
--- a/lotus-land-story/restarts.yml
+++ b/lotus-land-story/restarts.yml
@@ -17,4 +17,9 @@
name: ssh
state: restarted
+- name: Restart redis
+ ansible.builtin.service:
+ name: redis-server
+ state: restarted
+
# vim: ft=yaml.ansible
diff --git a/lotus-land-story/templates/Caddyfile b/lotus-land-story/templates/Caddyfile
index 358ae2e..d832212 100644
--- a/lotus-land-story/templates/Caddyfile
+++ b/lotus-land-story/templates/Caddyfile
@@ -36,7 +36,16 @@ auth.{{ domain }} {
}
search.{{ domain }} {
- reverse_proxy searxng:8080
+ forward_auth authelia:9091 {
+ uri /api/verify?rd=https://auth.{{ domain }}
+
+ # This import needs to be included if you're relying on a trusted proxies configuration.
+ import trusted_proxy_list
+ }
+
+ reverse_proxy searxng:8080 {
+ import trusted_proxy_list
+ }
}
# {{ hledger.subdomain }}.{{ domain }} {
diff --git a/lotus-land-story/templates/prometheus.yml b/lotus-land-story/templates/prometheus.yml
index 6465d1b..87dbff4 100644
--- a/lotus-land-story/templates/prometheus.yml
+++ b/lotus-land-story/templates/prometheus.yml
@@ -37,10 +37,10 @@ scrape_configs:
static_configs:
- targets: ['miniflux:8080']
- - job_name: woodpecker
- bearer_token: {{ woodpecker.api_token }}
- static_configs:
- - targets: ['woodpecker-server:8000']
+ # - job_name: woodpecker
+ # bearer_token: {{ woodpecker.api_token }}
+ # static_configs:
+ # - targets: ['woodpecker-server:8000']
- job_name: authelia
static_configs: