Skip to content

Commit

Permalink
add recursive directive to nginx config
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcusk19 committed Jan 15, 2025
1 parent 367aee1 commit fee63e9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion conf/nginx/nginx.conf.jnj
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ http {
add_header Strict-Transport-Security "max-age=63072000; preload";

real_ip_header X-Forwarded-For;
real_ip_recursive on;

access_log /var/log/nginx/access.log lb_logs;

Expand All @@ -67,7 +68,7 @@ http {
{% if use_ipv6 %}
listen [::]:7443 ssl http2 default proxy_protocol;
{% endif %}

ssl on;

# This header must be set only for HTTPS
Expand Down

0 comments on commit fee63e9

Please sign in to comment.