Carbonio server beh...
 
Notifications
Clear all

Carbonio server behind Nginx proxy

2 Posts
1 Users
0 Reactions
123 Views
(@whyyoubanningall)
Joined: 1 year ago
Posts: 3
Topic starter  

I need to see Real IP addresses, which coming from internet. I need to add to nginx config 

set_real_ip_from 10.10.20.100;
real_ip_header X-Forwarded-For;
real_ip_recursive on;

but i dont understand which config i need to change. 


   
Quote
(@whyyoubanningall)
Joined: 1 year ago
Posts: 3
Topic starter  

Oh, and i see that nginx built without "--with-stream_realip_module"...

My Carbonio version 

root@mail:~# /opt/zextras/common/sbin/nginx -V
nginx version: nginx/1.24.0
built with OpenSSL 1.1.1w 11 Sep 2023
TLS SNI support enabled
configure arguments: --prefix=/opt/zextras/common --with-cc-opt='-g -I/opt/zextras/common/include' --with-ld-opt='-Wl,-rpath,/opt/zextras/common/lib -L/opt/zextras/common/lib' --with-http_ssl_module --with-http_stub_status_module --with-pcre --with-http_addition_module --with-http_auth_request_module --with-http_degradation_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_secure_link_module --with-http_slice_module --with-http_ssl_module --with-http_stub_status_module --with-http_sub_module --with-http_v2_module --with-stream --with-stream_ssl_module --with-stream_ssl_preread_module --with-threads --with-mail --with-mail-sasl --with-mail_ssl_module --error-log-path=/opt/zextras/log/nginx.log --http-log-path=/opt/zextras/log/nginx.access.log --http-client-body-temp-path=/opt/zextras/data/tmp/nginx/client --http-proxy-temp-path=/opt/zextras/data/tmp/nginx/proxy --http-fastcgi-temp-path=/opt/zextras/data/tmp/nginx/fastcgi --without-http_scgi_module --without-http_uwsgi_module --add-module=/tmp/nginx/src/nginx-brotli --add-module=/tmp/nginx/src/nginx-tcp-keepalive --add-module=/tmp/nginx/src/modules/http/sso --add-module=/tmp/nginx/src/modules/http/upstreamzmauth --add-module=/tmp/nginx/src/modules/mail/zmauth --add-module=/tmp/nginx/src/modules/mail/throttle


   
ReplyQuote