fix: gitea reverse proxy auth

This commit is contained in:
uttarayan21
2025-04-17 15:11:54 +03:00
parent 15f86a0fae
commit 6f758b9093
2 changed files with 5 additions and 3 deletions

View File

@@ -4,11 +4,13 @@
enable = true;
settings = {
service = {
DISABLE_REGISTRATION = false;
# DISABLE_REGISTRATION = false;
ENABLE_REVERSE_PROXY_AUTHENTICATION = true;
REVERSE_PROXY_AUTHENTICATION_USER = "REMOTE-USER";
ENABLE_REVERSE_PROXY_AUTO_REGISTRATION = true;
};
security = {
REVERSE_PROXY_AUTHENTICATION_USER = "REMOTE-USER";
};
};
};
caddy = {