diff options
Diffstat (limited to 'cluster/prod/app/jitsi')
-rw-r--r-- | cluster/prod/app/jitsi/config/nginx.conf | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cluster/prod/app/jitsi/config/nginx.conf b/cluster/prod/app/jitsi/config/nginx.conf index c988059..6b486e2 100644 --- a/cluster/prod/app/jitsi/config/nginx.conf +++ b/cluster/prod/app/jitsi/config/nginx.conf @@ -37,6 +37,12 @@ http { access_log /dev/stdout; server_names_hash_bucket_size 64; + # Log real IPs + set_real_ip_from 10.0.0.0/8; + set_real_ip_from 172.16.0.0/12; + set_real_ip_from 192.168.0.0/16; + real_ip_header X-Forwarded-For; + # inspired by https://raw.githubusercontent.com/jitsi/docker-jitsi-meet/master/web/rootfs/defaults/meet.conf server { #listen 0.0.0.0:{{ env "NOMAD_PORT_https_port" }} ssl http2 default_server; |