main
Alpha Chen 8 months ago
parent 7eb7115bf9
commit 080154b530
Signed by: alpha
SSH Key Fingerprint: SHA256:3fOT8fiYQG/aK9ntivV3Bqtg8AYQ7q4nV6ZgihOA20g

@ -36,17 +36,33 @@ auth.{{ domain }} {
}
search.{{ domain }} {
forward_auth authelia:9091 {
uri /api/verify?rd=https://auth.{{ domain }}
# copy_headers Remote-User
log
# This import needs to be included if you're relying on a trusted proxies configuration.
import trusted_proxy_list
}
handle /opensearch.xml {
reverse_proxy searxng:8080
}
handle /static/* {
reverse_proxy searxng:8080
}
handle /autocompleter {
reverse_proxy searxng:8080
}
handle {
forward_auth authelia:9091 {
uri /api/verify?rd=https://auth.{{ domain }}
# copy_headers Remote-User
reverse_proxy searxng:8080 {
import trusted_proxy_list
}
# 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 }} {

Loading…
Cancel
Save