update example config to working version

This commit is contained in:
tolerryan
2026-09-20 06:38:32 +00:00
parent 1ed69d68d7
commit 907b724324
3 changed files with 20 additions and 4 deletions

View File

@@ -1,3 +1,19 @@
auth.{{ authelia_domain }} {
reverse_proxy authelia:{{ authelia_port }}
}
# Reusable snippet for Authelia Forward Auth
(authelia_auth) {
forward_auth http://authelia:9091 { # Replace with your Authelia IP/Port or container name
uri /api/verify?rd=https://frantecrt.duckdns.org # Replace with your public Authelia URL
copy_headers Remote-User Remote-Groups Remote-Email Remote-Name
}
}
test.frantecrt.duckdns.org {
# Import the auth configuration block
import authelia_auth
# Route the traffic to your backend application if authenticated
reverse_proxy frantecrt.duckdns.org:8080
}