diff --git a/docker/nginx-https.conf b/docker/nginx-https.conf index aaf5e739..f64e8e4e 100644 --- a/docker/nginx-https.conf +++ b/docker/nginx-https.conf @@ -10,6 +10,9 @@ http { keepalive_timeout 65; client_header_timeout 300s; + set_real_ip_from 127.0.0.1; + real_ip_header X-Forwarded-For; + ssl_protocols TLSv1.2 TLSv1.3; ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384; ssl_prefer_server_ciphers off; diff --git a/docker/nginx.conf b/docker/nginx.conf index 9f37c80a..c180c180 100644 --- a/docker/nginx.conf +++ b/docker/nginx.conf @@ -10,6 +10,9 @@ http { keepalive_timeout 65; client_header_timeout 300s; + set_real_ip_from 127.0.0.1; + real_ip_header X-Forwarded-For; + ssl_protocols TLSv1.2 TLSv1.3; ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384; ssl_prefer_server_ciphers off;