Compare commits
No commits in common. "main" and "proxy_images" have entirely different histories.
main
...
proxy_imag
2 changed files with 3 additions and 1 deletions
|
@ -56,6 +56,7 @@ in {
|
||||||
max_upload_size = max_upload_size;
|
max_upload_size = max_upload_size;
|
||||||
|
|
||||||
# only authenticated media
|
# only authenticated media
|
||||||
|
# TODO: Should default to true at some point
|
||||||
enable_authenticated_media = true;
|
enable_authenticated_media = true;
|
||||||
|
|
||||||
# retentien policies
|
# retentien policies
|
||||||
|
|
|
@ -19,11 +19,12 @@ in {
|
||||||
DISABLE_LOCAL_AUTH = "true";
|
DISABLE_LOCAL_AUTH = "true";
|
||||||
|
|
||||||
# use auth proxy
|
# use auth proxy
|
||||||
|
# TODO: This should be configureable
|
||||||
AUTH_PROXY_HEADER = config.mine.shared.lib.authelia.protectedHeaders.username;
|
AUTH_PROXY_HEADER = config.mine.shared.lib.authelia.protectedHeaders.username;
|
||||||
AUTH_PROXY_USER_CREATION = "true";
|
AUTH_PROXY_USER_CREATION = "true";
|
||||||
|
|
||||||
# For privacy, proxy images instead of hotlinking
|
# For privacy, proxy images instead of hotlinking
|
||||||
MEDIA_PROXY_RESOURCE_TYPES = "image,audio,video";
|
MEDIA_PROXY_RESOURCE_TYPES = "image";
|
||||||
MEDIA_PROXY_MODE = "all";
|
MEDIA_PROXY_MODE = "all";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue