[Nginx][Web] Pass the client address to sogo-auth for EAS/DAV logins

This commit is contained in:
FreddleSpl0it committed 2026-11-02 14:44:09 +01:00
1 parent 5c762d9949
commit e96fb24a67
3 files changed
+12

No files matched your search

+6
View File
@@ -47,6 +47,12 @@ http {
default "";
}
# client of an internal auth request, X-Real-IP is set by /sogo-auth-verify
map $server_port $sogo_auth_client_ip {
65510 $http_x_real_ip;
default "";
}
{% if HTTP_REDIRECT %}
# HTTP to HTTPS redirect
server {