update example config to working version
This commit is contained in:
@@ -6,7 +6,7 @@ authelia_image: authelia/authelia:4.38
|
|||||||
authelia_container_name: authelia
|
authelia_container_name: authelia
|
||||||
authelia_network_name: authelia_net
|
authelia_network_name: authelia_net
|
||||||
|
|
||||||
authelia_domain: example.com
|
authelia_domain: frantecrt.duckdns.org
|
||||||
authelia_port: 9091
|
authelia_port: 9091
|
||||||
|
|
||||||
authelia_log_level: info
|
authelia_log_level: info
|
||||||
@@ -1,3 +1,19 @@
|
|||||||
auth.{{ authelia_domain }} {
|
auth.{{ authelia_domain }} {
|
||||||
reverse_proxy authelia:{{ authelia_port }}
|
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
|
||||||
}
|
}
|
||||||
@@ -35,8 +35,8 @@ regulation:
|
|||||||
ban_time: 5m
|
ban_time: 5m
|
||||||
|
|
||||||
storage:
|
storage:
|
||||||
encryption_key: "{{ authelia_storage_encryption_key }}"
|
encryption_key: {{ authelia_storage_encryption_key }}
|
||||||
local:
|
local:
|
||||||
path: /config/db.sqlite3
|
path: /config/db.sqlite3
|
||||||
|
|
||||||
notifier:
|
notifier:
|
||||||
@@ -45,4 +45,4 @@ notifier:
|
|||||||
|
|
||||||
identity_validation:
|
identity_validation:
|
||||||
reset_password:
|
reset_password:
|
||||||
jwt_secret: "{{ authelia_jwt_secret }}"
|
jwt_secret: {{ authelia_jwt_secret }}
|
||||||
Reference in New Issue
Block a user