New mealie, paperless-ngx dirs
This commit is contained in:
@@ -257,6 +257,37 @@ in
|
||||
'';
|
||||
};
|
||||
|
||||
# ------------------------------------------------------------------
|
||||
# Paperless — one_factor for all authenticated users (authelia policy).
|
||||
# Authelia sets Remote-User; Caddy copies it to the upstream request;
|
||||
# Paperless trusts HTTP_REMOTE_USER for automatic login (no separate
|
||||
# Paperless login page shown).
|
||||
# ------------------------------------------------------------------
|
||||
"paperless.${domain}" = {
|
||||
extraConfig = ''
|
||||
${autheliaForwardAuth}
|
||||
reverse_proxy localhost:8083
|
||||
'';
|
||||
};
|
||||
"http://paperless.${domain}" = {
|
||||
extraConfig = ''
|
||||
${autheliaForwardAuth}
|
||||
${cfProxy 8083}
|
||||
'';
|
||||
};
|
||||
|
||||
# ------------------------------------------------------------------
|
||||
# Mealie — no forward_auth; LDAP handles auth via Mealie's login page.
|
||||
# ------------------------------------------------------------------
|
||||
"mealie.${domain}" = {
|
||||
extraConfig = ''
|
||||
reverse_proxy localhost:9093
|
||||
'';
|
||||
};
|
||||
"http://mealie.${domain}" = {
|
||||
extraConfig = cfProxy 9093;
|
||||
};
|
||||
|
||||
# ------------------------------------------------------------------
|
||||
# Grafana — two_factor, admins only (enforced by authelia policy).
|
||||
# After Authelia verifies the user, Caddy maps the Remote-User header
|
||||
|
||||
Reference in New Issue
Block a user